HOME ABOUT HOWTO CONTACT

CentOS Software Packages Management

show installed packages:

yum list [all|installed]
rpm -qa

search for a package into the name and the summary only:

yum search <string1> [...] [stringN]

search for a package in all the fields:

yum search all <string1> [...] [stringN]

search for the package providing a particular file:

yum provides </path/to/file>

get informations about a package:

yum info <package>

install a package from the repository:

yum install <package>

uninstall a package:

rpm -e <package>

show the files installed by a package:

rpm -ql <package>

...

man yum
man rpm