How to list installed packages on CentOS

- by

yum can help us here. This should do the trick:

#yum list installed

If you’re interested in a particular package, you can pipe a search string into grep and only list filtered results:

#yum list installed | grep "yum"

keyutils-libs.i686    1.4-4.el6           @anaconda-CentOS-201303020136.i386/6.4
yum.noarch            3.2.29-40.el6.centos
yum-metadata-parser.i686
yum-plugin-fastestmirror.noarch

The search string doesn’t even need to be in quotes, and partials work fine too.

Add your voice!

This site uses Akismet to reduce spam. Learn how your comment data is processed.