What RPM packages are required to install vim on a recent version of Fedora?

  • I use Fedora 14 and vim already came installed with it. Strange that you didn't get it pre-installed.
    – Dharmit
    Feb 18, 2011 at 16:37
  • I am using a custom version of Fedora, which is why the package is not on there by default. Feb 18, 2011 at 17:17

1 Answer 1


On a modern Fedora, run

repoquery  --tree-requires vim-minimal


repoquery  --tree-requires vim-enhanced

to get a recursive list of packages on which your specified package depends, in a nice tree format.

Note that vim-minimal only installs /bin/vi with no modern enhancements nor online help, for use when only the root partition is available. I guess you want vim-enhanced or vim-X11.

If you only want a list of the direct dependencies, you could run

repoquery --requires --resolve vim-enhanced

to get the packages list or

repoquery --requires vim-enhanced 

to get the required capabilities.

  • 5
    And of course if you don't have repoquery, run yum install yum-utils.
    – mattdm
    Feb 16, 2011 at 1:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.