Home > Article > Operation and Maintenance > Does linux come with yum?
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.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
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
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!