$ sudo yum install yumex
$ sudo yum install yum-utils
Install a package or packages
yum install package1 [package2 package3 ...]
Checks to see if a package is already installed and is the latest version. If not, downloads the package and its dependency packages (saves them in its cache directory) and installs them.
Update one or more packages
yum update [package1 package2 ...]
Without arguments, each installed package is compared to packages available on listed repositories. If a newer package is available, it downloads and updates the old one. If a list of packages is given, only checks for updates of those packages.
Remove a package or packages
yum remove package1 [package2 package3 ...]
Checks to see if removing the package is ok - does not break anything. Offers to remove the package and all the packages that depend on it. Generally refuses to leave any packages 'partially installed' (missing dependencies).
List packages in repositories
yum list [all,available,installed,updates,extras] [package list]
# yum list all
Without any arguments - lists all packages available to be installed on all repositories.
Run with a list of packages (can contain file wildcard globs) - it shows both the installed packages and the available packages that match the expanded list.
The installed, available, and update options show only installed packages, available packages or packages that will be updated by the next yum update command.
Note: When run interactively from a shell, wildcard characters need to be escaped from the shell.
List all installed packages
# rpm -qa
# yum list installed
Find out if httpd package installed or not
# rpm -qa | grep httpd*
# yum list installed httpd
Get information on one or more packages
yum info [all,available,installed,updates,extras] [package list]
Prints the description and summary from all matching packages. The extras option lists all packages that are installed but not available in the repositories e.g. packages that may have installed by hand.
Search for a package
yum search keyword
Searches for packages matching the keyword string in the description, summary, packager and package name fields. The keyword string can contain wildcard file globs. Be sure to escape these from the shell.
What package provides this file/feature
yum whatprovides [feature|file]
Find package(s) that provide some feature or file. Accepts file wildcard globs.
Clean up the cache
# yum clean
'clean' takes various options: see the man page for details.
Manage a group of software packages
# yum grouplist
Engineering and Scientific
Perform list, install and update functions on package groups defined for a system. Can install an entire block of software all at once - if the package group is defined on the systems.
Install all Editors group packages
# yum groupinstall "Editors"