yum

YUM - Yellowdog Updater Modified


Install a package with YUM:

yum install firefox

Install a package with YUM without asking for confirmation:

yum -y install firefox

Remove a package:

yum remove firefox

Update a package:

yum update mysql

Search for a package:

yum search firefox

Display information about a package:

yum info firefox

Display all available packages:

yum list

Display all installed packages:

yum list installed

Find which package a specific file belongs to:

yum provides /etc/httpd/conf/httpd.conf

Display all available updates:

yum check-update

Update the system:

yum update

Display all available group packages

yum grouplist

Install a group package

yum groupinstall 'Java Development'

Update a group package:

yum groupupdate 'Java Development'

Remove a group packages:

yum groupremove 'Java Development'

Display enabled yum repositories:

yum repolist

Display all enabled and disabled yum repositories:

yum repolist all

Clean yum cache:

yum clean all

View history:

yum history