Install and Update Packages Using Yum
Yum (Yellow Dog Updater, Modified) is a simple command-line package manager for RPM-compatible Linux systems, such as Fedora Core. There are some major pros for using Yum instead of installing packages manually using the Red Hat Package Manager (RPM). One reason is that Yum automatically calculates the dependencies for individual packages and then downloads and installs them accordingly. Another reason to use Yum over RPM is that you can search through multiple repositories all at the same time.
Searching for Packages
To search for available packages run:
yum search keyword
Whereas 'yum search' filters by the package name and description, 'yum list' allows a search of package name alone:
yum list 'firefox'
Wildcard symbols can also be used. The following returns both all available and all installed packages whose name begins with 'ice':
yum list 'ice*'
'List Options' exist to allow further filtering. The following lists all packages available for install with 'gnome' in their name:
yum list available '*gnome*'
All packages with updates
yum list updates
To install new packages run:
yum install packagename
To update individual packages on your system run:
yum update packagename
To update all the packages on your system run:
NOTE: "yum update" updates all packages, including your kernel
Package Info: description, name, version etc
yum info packagename
If you contributed to this document, sign below.