Does linux come with yum?

WBOY
Release: 2022-08-11 17:42:33
Original
4432 people have browsed it

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
Copy after login

Enter the folder and enter Command

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

2. Unzip

tar -xvf yum-3.2.28.tar.gz
Copy after login

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
Copy after login

3. Enter the yum directory. During the script installation

cd yum-3.2.28
./yummain.py install yum
Copy after login

, 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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template