Use of the Yum repository and Yum Update Tool

Source: Internet
Author: User
Tags custom name

Yum,yellow Dog Updater Modified

Software update mechanism based on RPM package construction

Automatically resolve package dependencies

All packages are provided by a centralized Yum software repository


Yum's basic configuration file:

Basic settings:/etc/yum.conf

Warehouse Configuration:/etc/yum.repos.d/*.repo

Log file:/var/log/yum.log

Cache directory:/var/cache/yum/$basearch/$releasever [for storing data such as download packages, warehouse records, etc.]


*.repo Basic Configuration items:

[Source name]: custom name, unique

Name: Description information for this software source

BaseURL: Specifies the URL address of the Yum server [local directory file://..., FTP or HTTP service: ftp://..., HTTP///...]

Enabled: Whether to enable this configuration

Gpgcheck: Whether to verify the RPM package to be installed

Gpgkey: Key file for RPM verification


Basic Package Operation:

Format: Yum [-y] instruction [software name] ... #[-y] omit confirmation when installing or deleting an operation

Common directives:

List: View Package lists

Search: View the package name or describe important keywords

Info: View description Information for the package, similar to Rpm-qi

Install: Installs the specified package, similar to Rpm-i

Update: Upgrade the specified package

Remove: Uninstalls the specified package, similar to RPM-E

Provides: similar to RPM-QF

Clean all: Empties all caches of local Yum


Software Group Basic operations:

Format: Yum [-y] directive [package group name] ... #[-y] Omit confirmation when installing or deleting an operation

Common directives:

Grouplist: View a list of software groups

GroupInfo: Viewing description information for a software group

Groupinstall: Installing the specified software group

Groupupdate: Upgrading software Groups

Groupremove: Uninstalling software groups



This article is from the "Trivia Summary" blog, so be sure to keep this source http://lyz010300.blog.51cto.com/9503473/1883827

Use of the Yum repository and Yum Update Tool

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.