我需要使用基于 xxd
的脚本,但它没有安装在我的 Fedora 21 上:
$ xxd
bash: xxd: command not found
所以我尝试搜索并安装它但没有成功:
$ yum install xxd
(fails)
$ yum search xxd
(fails)
$ yum search all xxd
(fails - detailed log below)
Loaded plugins: langpacks
================================================================= Matched: xxd ========
perl-Data-HexDump-XXD.noarch : Format hexadecimal dump like xxd
xxdiff.i686 : Graphical file and directories comparator and merge tool
xxdiff-tools.i686 : Tools for xxdiff
- 您知道
xxd
提供了哪个软件包吗?(我的意思是使用 Fedora 存储库中的yum
安装的官方软件包)。
预先感谢您的帮助!
最佳答案
xxd
位于 vim-common
包中。
您可以使用yum whatprovides '*bin/xxd'找到它
。
关于yum - 'xxd' 命令的官方 Fedora 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36179338/