1. Introduction to Yum installation software in the CentOS system:
Yum (Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as in SuSE.
Based on RPM package management, the ability to automatically download the RPM package from the specified server and install, can automatically handle dependency relationships, and install all dependent software packages at once, without the tedious download and installation.
Yum provides commands to find, install, and delete one, a group, or even all of the packages, and the commands are concise and well-remembered.
Yum [options] [command] [package ...]
Options : optional, option includes-H (Help),-y (when the installation process prompts you to select all "Yes"),-Q (does not show the installation process)
command: the operation to be performed.
The object for the package operation.
2.yum Common Command operations:
1. List all updatable software inventory commands: Yum check-update
2. Update all software commands: Yum update
3. Install only the specified software commands: Yum install <package_name>-can add-y parameters;
4. Update only the specified software commands: Yum update <package_name>
5. List all installed software inventory commands: Yum list
6. Remove Package Command: Yum remove <package_name>
7. Find Package Command: Yum Search <keyword>--can use regular match
8. Clear the Cache command:
Yum Clean Packages: Clear the cache directory for packages
Yum Clean headers: Clear headers in cache directory
Yum Clean oldheaders: Clears the old headers from the cache directory
Yum Clean, yum clear all (= Yum packages; yum oldheaders): Clears the cache directory of the package and the old headers
3. More useful yum sources in China
NetEase (163) Yum Source is one of the best yum sources in the country, both speed and software version, are very good.
http://mirrors.163.com/
Zhong ke yum Source, installation method view: Https://lug.ustc.edu.cn/wiki/mirrors/help/centos
Sohu Yum Source Installation method view: http://mirrors.sohu.com/help/centos.html
* * Above is a Yum source configured as a network.
Common use of YUM commands in CentOS systems