Home  >  Article  >  Operation and Maintenance  >  Does linux come with yum?

Does linux come with yum?

WBOY
WBOYOriginal
2022-08-11 17:42:334379browse

Linux does not come with yum; yum is a Shell front-end package manager in Fedora, RedHat and CentOS. It is an essential artifact for the installation of Linux systems. However, new systems generally do not come with the yum tool. Yes, it needs to be installed manually.

Does linux come with yum?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

linux does not come with yum

yum is a must-have tool for Linux system installation, it is not too convenient.

But new systems generally do not come with the yum tool, so you need to install it manually.

Yum is a Shell front-end package manager in Fedora and RedHat and CentOS. Based on RPM package management, it can automatically download and install RPM packages from designated servers, automatically handle dependencies, and install all dependent software packages at once, without the need to download and install them again and again.

Installation method:

1. Create a new directory to save the yum installation package

mkdir install

Enter the folder and enter Command

wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz

2. Unzip

tar -xvf yum-3.2.28.tar.gz

Key point: Don’t rush to install after decompression. Manually create a yum conf file, otherwise the file cannot be found error yum.cli:Config Error will be reported. : Error accessing file for config file:///etc/

touch /etc/yum.conf

3. Enter the yum directory. During the script installation

cd yum-3.2.28
./yummain.py install yum

, you will be prompted to install a new version. Just press y and press Enter

Does linux come with yum?

Recommended learning: Linux video tutorial

The above is the detailed content of Does linux come with yum?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn