Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE.
Based on RPM package management, the ability to automatically download RPM packages from the specified server and install them, can automatically handle dependency relationships, and install all dependencies at once
software package, without cumbersome to download, install. Yum provides commands for finding, installing, and deleting one, a group, or even all of the packages.
Yum's command form is generally as follows: Yum [options] [command] [package ...]
The options are optional and include-H (Help),-y (when the installation process prompts you to select all "Yes"),-Q (does not show the installation process)
Wait a minute. [command] for the action you want to take, [package ...] Is the object of the operation.
Automatically search for the fastest image plugin: Yum install Yum-fastestmirror
Installing the Yum graphics window plugin: Yum install Yumex
View a list of possible bulk installations: Yum Grouplist
1 installation
Yum Install all installed
Yum Install Package1 installs the specified installation package Package1
Yum groupinsall group1 Installer group group1
2 Updates and Upgrades
Yum Update all Updates
Yum Update Package1 updates the specified package Package1
Yum check-update Check for updatable programs
Yum Upgrade Package1 upgrade specified package Package1
Yum groupupdate group1 upgrade program group Group1
3 Finding and displaying
Yum Info package1 Displays installation package information Package1
Yum list shows all packages that are installed and can be installed
Yum List Package1 shows the installation of the specified package Package1
Yum groupinfo group1 Display program group group1 info Yum Search string finds the installation package based on the keyword string
4 Removing programs
Yum Remove Package1 Remove package Package1
Yum groupremove group1 Remove a program group group1
Yum deplist package1 Viewing program package1 dependencies
5 Clearing the Cache
Yum Clean packages clears the package from the cache directory
Yum clean headers clears the headers in the cache directory
Yum clean oldheaders Clear Cache directory for old headers
Yum Clean, yum clear all (= Yum packages; Yum oldheaders) clears the cache directory of packages and the old headers
For example, to install a game program group, first look for:
#:yum grouplist
It can be found that the installable game package name is "games and entertainment" so that it can be installed:
#:yum Groupinstall "Games and entertainment"
All the game packages are installed automatically. The name of the games and entertainment must be selected in double quotation marks, since Linux encounters spaces below
Will assume that the file name is over, so you must tell the system that the package name is "games and entertainment" instead of "games."
In addition, you can modify the configuration file/etc/yum.conf Select the installation source. It can be seen how easy it is to configure the Yum program. For more detailed options and commands,
Just below the command prompt, of course: Man yum.
Linux Yum Command detailed