Updates to the CentOS Yum software

Source: Internet
Author: User

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

    1. The client determines the IP address of the Yum sever based on the configuration file

    2. After connecting to Yum Sever, download the header data for the new RPM file first

    3. Analyze and compare the files that users want to install/upgrade and provide user confirmation

    4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.