Recommended manual:Linux learning manual
How to install yum on linux?
The steps to install yum on Linux are as follows:
First, check the host to see if the yum tool has been installed. If it has been installed, the corresponding installation package will be queried, example:
If the yum tool has been installed, you can use the following command to forcefully delete and uninstall yum, example:
View the current Linux system Hair version, example:
For example, the version returned by this demonstration is: CentOS 6.5
After confirming that the hair version is CentOS 6, we will enter the 163 mirror Address:
Find the following three files from the 163 mirror page:
Download the above three files to Local computer, example:
##Install the yum tool again, example: Finally, enter the command and check with yum. Everything is running normally. At this point, the yum installation on Linux is successfulRecommended related articles: 1.For more Linux-related technical articles, please visit
yum installs php 2.
How to verify that the installation is complete after yum installs php?
Related video recommendations: 1.
Brothers New Version Linux Video Tutorial
The above is the detailed content of How to install yum on linux?. For more information, please follow other related articles on the PHP Chinese website!