Yum knowledge and common operations (constantly adding ...)

Source: Internet
Author: User

1. RHEL and centos can be used in Yum sources.

2. Yum command operation

Yum repolist // check whether the local Yum source file is correctly configured and whether the yum source file can be connected normally.

Yum clean all // clear the local cache

Yum makecache // cache the information on the yum source to the local device to accelerate the search speed.

 

Yum searches all files in the/etc/yum. Repos. d/directory. And perform the test. Whether enable is set to 1.


There are many yum sources, which can be configured locally or on the Internet. By default, RHEL official yum is unavailable unless you have purchased a license.

We recommend that you use the epel Yum source. For more information, see my other post.

Http://swenzhao.blog.51cto.com/3451741/1567819


Yum knowledge and common operations (constantly adding ...)

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.