How to list installed packages on CentOS

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.





Jay is the CEO and founder of WP Hosting, a boutique style managed WordPress hosting and support service. He has been working with Plesk since version 9 and is a qualified Parallels Automation Professional. In his spare time he likes to develop iOS apps and WordPress plugins, or draw on tablet devices. He blogs about his coding journey at http://wpguru.co.uk and http://pinkstone.co.uk.