1.yum actually management is also RPM package, but rely on what they do
2.yum in some Linux versions are charged, but CentOS is free
3.yum in general the need for networking, namely: the use of network Yum source
A.yum Source Configuration file Address
/etc/yum.repos.d/centos-base.repo
B.yum Source configuration file meaning (know the meaning of the line, the likelihood of change is almost 0)
[Base]
Container name, be sure to house [] in
Name
Container description, equivalent to comments, can be arbitrarily changed
Mirrorlist
Mirror Site Address
BaseURL
The original server address, the default is the official CentOS source address, is available, if you feel slow, you can Baidu a domestic address change up
Enabled
Whether this container is in effect, if not written or written enable=1 are in force, written enable=0 as not effective
Gpgcheck
If 1 indicates that the digital certificate for RPM is in effect, 0 is not valid
Gpgkey
Where the public key of a digital certificate is saved
C.yum source generally do not have to modify, using the default on it
Inquire
Query server List of all available packages
Yum List
Search all the keyword-related packages on the server
Yum Search keyword
Installation
Yum Install package Name
Upgrade (Use caution)
Yum Update package Name
Attention:
A. If the parking name does not upgrade all packages, including the Linux kernel
B. If the upgrade is not good, you hang up.
Uninstall (Use caution)
Yum Remove Package Name
Attention:
A. Deletion will also delete the dependencies.
B. The problem with this kind of deletion may be that the intermediate dependencies are deleted, but there are other components that rely on the tundish, and you'll find that component is out of the question.
Software Group Management
List all available software groups
Yum Grouplist
Install the specified software group, the group name can be isolated from grouplist
Yum Groupinstall Group Name
Uninstalling the specified software group
Yum Groupremove Group Name
Linux installs RPM packages with Yum