Custom notes for Centos automated installation package

Source: Internet
Author: User
Tags centos
After the Centos system is customized, toolkit may be added later due to the company's needs. At this time, how should we provide this toolkit separately and install the required dependency packages. The following are several cases:

 

1. When installing the toolkit, the system prompts that the dependency is missing.

 

 

The preceding figure shows the dependency packages that are missing when the toolkit is installed;

 

2. In this case, we need to use the yum command to find the missing dependency package and install it.
# Yum provides libc. so.6 # search for software from the libc. so.6 file, which is similar to rpm-qf.

 

The above command system lists the glibc packages required by libc. so.6.

 

 

3. Download the package

 

A. In Centos 7, we can use the yum install command to download the required packages and dependency packages.
Yum install glibc

 

 

As shown in the preceding figure, when you use the yum install command in Centos 7, a "d" option is added, which means that the command is downloaded and not installed. In this way, we can download the required package along with the dependent package.

 

B. You can use the yumdownloader command to download the required package and dependency package in the environment below Centos6.
Yumdownloader glibc

 

The package is downloaded to the current directory. If the system does not support the yumdownloader command, you must first install the yum-utils software.
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.