The Yum Package management tool for Linux

Source: Internet
Author: User

Yum (full name Yellow dog Updater, Modified) is a shell front end package Manager in Fedora and Redhat and CentOS. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all dependent packages at once, without the hassle of downloading and installing them over and over again. (written by Python)

Use LS/ETC/YUM.REPOS.D to view the system's own Yum sources:

Common commands:

Yum-y Install: Installation

Yum-y insatll *http*: Fuzzy installation

Yum Erase: Deleting

Yum Clear all: Clear the dependency cache for all Yun sources

Yum Makecache: Loading all dependencies into the cache

How to build a local Yun Source:

First step: Create a folder: Mkdir/local

Step two: Store packages in local

Step Three: Modify/etc/yum.repos.d/local.repo

Edit as follows:

  

Fourth step: Establish a dependency relationship: createrepo/local

 -----Yum can automatically handle dependencies, so unlike RPM installations, RPM is installed by locating file paths directly, while Yum installs the dependency files that look for the Yum source and then installs each other.

How to implement edge install side download:

Edit file: vim/etc/yum.conf

  

--------------------------------------------------------------------------------------------------------------- ------

This problem was encountered while executing the yum command:

This is the Yum in auto update:

Stop using rm-f/var/run/yum.pid or/etc/init.d/yun-updated stop

You can also wait for him to complete the installation after the update.

The Yum Package management tool for Linux

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.