2016-03-23 49 views
5

我需要使用基於xxd的腳本,但它不是安裝在我的Fedora 21:'xxd'命令的官方Fedora包?

$ 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安裝)。

在此先感謝您的幫助!

回答

10

xxd是在vim-common包。

您可以使用yum whatprovides '*bin/xxd'來查找。

5

你試過

yum install vim-common