Yum Starter App

Source: Internet
Author: User

650) this.width=650; "style=" width:570px;height:195px; "alt=" 1.jpg "src=" http://www.178linux.com/ueditor/php/ Upload/image/20150331/1427791910391052.jpg "title=" 1427791910391052.jpg "height=" 195 "width=" 570 "/>

The Yum tool is a software package manager developed for the installation of RPM software and is a program developed by Python. Its approximate function is to automate the installation of RPM packages to help detect environmental dependencies and prompt the user to resolve them.

The Yum service is divided into two parts: one is the service side and the other is the client part. Its service is only a warehouse (file server) that stores n RPM packages, while the main responsibility for package management is the client, the local Yun tool.

The process of Yun Tools is to first cache the repository metadata in the Yum server in the local/var/cache/yum/* directory.

650) this.width=650; "style=" width:828px;height:96px; "alt=" 1.jpg "src=" http://www.178linux.com/ueditor/php/upload /image/20150331/1427767358846346.jpg "title=" 1427767358846346.jpg "height=" "width=" 828 "/>"

The user then uses the Yum tool to select the program that needs to be installed, and the Yum client program will first parse the previously cached metadata file and the local system environment to select the appropriate RPM package in the server's Yum repository. When the RPM package is downloaded locally, yum does not install it directly, but installs all downloaded RPM packages in accordance with the system environment.

The main configuration file for the Yum client is the/etc/yum.conf file, and the common configuration options are as follows:

650) this.width=650; "src=" Http://www.178linux.com/ueditor/php/upload/image/20150401/1427871354121676.jpg "title= "1427871354121676.jpg" alt= "1.jpg"/>

Files configured with the Yum repository are in the/etc/yum.repos.d/directory, with. Repos as the suffix.

650) this.width=650; "src=" Http://www.178linux.com/ueditor/php/upload/image/20150401/1427871611103077.jpg "title= "1427871611103077.jpg" alt= "1.jpg" style= "width:919px;height:272px;" height= "272" width= "919"/>

Repo files are commonly configured as follows:

650) this.width=650; "src=" Http://www.178linux.com/ueditor/php/upload/image/20150401/1427872163897303.jpg "title= "1427872163897303.jpg" alt= "1.jpg"/>

Here are some common commands that Yum uses:

        1, yum list all #列出服务端仓库中的所有RPM包.           650) this.width=650; "style=" width:927px;height:382px; "alt=" 1.jpg "src=" http:/ Www.178linux.com/ueditor/php/upload/image/20150331/1427768158101152.jpg "title=" 1427768158101152.jpg "height=" 382 "width=" 927 "/>

2. Yum check-update #检查当前系统中哪些包可以升级 650) this.width=650; "style=" width:953px;height:378px; "alt=" 1.jpg "src=" http://www.1 78linux.com/ueditor/php/upload/image/20150401/1427852484111834.jpg "title=" 1427852484111834.jpg "height=" 378 " Width= "953"/>

3, yum Update [package name needs to be upgraded] #升级指定包, or without the package name is to upgrade all available packages 650) this.width=650; "Src=" http://www.178linux.com/ueditor/php/ Upload/image/20150401/1427870216644879.jpg "title=" 1427870216644879.jpg "alt=" 1.jpg "style=" width:976px;height : 427px; "height=" 427 "width=" 976 "/>

4, yum-y install [package name] #安装指定的RPM包,-y means no need to confirm, direct installation

650) this.width=650; "src=" Http://www.178linux.com/ueditor/php/upload/image/20150401/1427870713969403.jpg "title= "1427870713969403.jpg" alt= "1.jpg" style= "width:1066px;height:468px;" height= "468" width= "1066"/>

5, yum Remove [package name] #指定卸载某包650) this.width=650; "Src=" HTTP://WWW.178LINUX.COM/UEDITOR/PHP/UPLOAD/IMAGE/2 0150401/1427870989581185.jpg "title=" 1427870989581185.jpg "alt=" 1.jpg "style=" font-family: ' Microsoft ya black '; font-size:22px; line-height:33px;width:1098px;height:499px; "height=" 499 "width=" 1098 "/>"


This article is from the "Secure Operations" blog, so be sure to keep this source http://qiudays.blog.51cto.com/8910608/1638145

Yum Starter App

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.