The fundamentals of Yum
CentOS can download the RPM header data from the official website on the Yum server, which, in addition to the dependencies of each RPM software, illustrates the container where the rpm file is placed. So by analyzing this data, CentOS is able to use Yum directly to download and install the required software.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8C/ED/wKiom1h92C_AT3zDAAJLaUDwdlo373.jpg-wh_500x0-wm_ 3-wmp_4-s_2816609052.jpg "title=" 7d89b442a53cc6773b2478fe87e4a761_thumb.jpg "alt=" wKiom1h92C_ At3zdaajlaudwdlo373.jpg-wh_50 "/>
Detailed process
The client determines the IP address of the Yum sever based on the configuration file
After connecting to Yum Sever, download the header data for the new RPM file first
Analyze and compare the files that users want to install/upgrade and provide user confirmation
Download user-selected files to the/var/cache/yum in the system and perform the actual installation
Yum [option] [Query work item]
Install: Specifies the name of the installed software
Update: The overall upgrade, of course, you can also pick up a software, upgrade only one software
Remove: Delete a software, followed by the software name
Search: Searching for a software or a keyword
List: Lists all the software names and versions currently managed by Yum
Info: ditto
Clean; The downloaded file is placed in the/var/cache/yum, can be removed by using clear, and the items that can be purged are packages | headers| Metadata|cache, etc.
In the Work Items for query section you can also have the entire group of software installed, as shown below
Grouplist: Lists all available software groups, such as the development tool
GroupInfo: After the group_name, you can understand the name of all software included in the group
Groupinstall: You can install a whole group of software groups
Groupremove: Deleting a software group
Updates to the CentOS Yum software