Yum Command usage guide: adding, removing, and updating RPM packages

Source: Internet
Author: User
Keywords Delete yum update rpm package
Tags aliyun based centos command usage delete download graphical front-end guide

Yum (full name for yellow dog http://www.aliyun.com/zixun/aggregation/34037.html ">updater, flushes) is a in Fedora and Redhat as well as SuSE, Shell front-end Package Manager in CentOS. Based on the RPM package management, can automatically download the RPM package from the specified server and install, can automatically handle dependencies, and install all the dependent software package, without tedious downloading, installation.

Software package source

The software packages available for Yum download include Fedora's own software packages and Fedora Extras from Rpmfusion and rpm.livna.org, all maintained by the Linux community and essentially free software. All packages have a separate GPG signature, primarily for your system security. For Fedora Core 4.0 users, the rpm.livna.org signature is automatically imported and installed.

Graphical front-end

The graphical front-end of Yum is mainly Yumex and Kyum. They are not independent of yum, but Yum graphical front-end, which means that the installation and use of Yumex and Kyum are all based on Yum installation and configuration, so when you use Yumex or Kyum, you must first install the configuration yum.

Common Command line commands

Install software (for example, foo-x.x.x.rpm): Yum install foo-x.x.x.rpm

Delete software: Yum remove foo-x.x.x.rpm or yum erase foo-x.x.x.rpm

Upgrade software: Yum upgrade foo or yum update foo

Query information: Yum info foo

Search software (for example, include Foo field): Yum search foo

Other parameters See man yum

What's yum?

Yum = Yellow Dog Updater, flushes main function is more convenient to add/remove/update RPM package. It automatically solves the problem of dependency of packages. It facilitates the management of a large number of system update problems

Yum Features

Multiple repository (Repository) Concise profiles can be configured at the same time (/etc/yum.conf automatically resolves the dependency problems encountered when adding or removing RPM packages to maintain consistency with the RPM database

Yum Installation

CentOS (yum-*.noarch.rpm) #rpm-IVH yum-*.noarch.rpm first need to import the Yum of the system before enabling Rpm-gpg-key for the first time: #rpm--import/usr/share/doc/ Centos-release-3 (4)/rpm-gpg-key-centos-3 (4)

Related Article

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.