Linux installs RPM packages with Yum

Source: Internet
Author: User

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

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.