Official Fedora package for 'xxd' command?

Bludzee picture Bludzee · Mar 23, 2016 · Viewed 29.1k times · Source

I need to use a script based upon xxd, but it's not installed on my Fedora 21:

$ xxd
bash: xxd: command not found

So I tried without success to search and install it:

$ 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
  • Do you know which package xxd is provided with? (I mean an official package to install with yum from the fedora repositories).

Thanks in advance for any help!

Answer

Etan Reisner picture Etan Reisner · Mar 23, 2016

xxd is in the vim-common package.

You can find that by using yum whatprovides '*bin/xxd'.