How to implement yum to specify and install software under a certain source
This article mainly explains "how to install software under a certain source specified by yum". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "how to achieve yum designated installation of software under a certain source" bar!
One command, one parameter.
The code is as follows:
[root@aikaiyuan] # yum install nginx-- enablerepo=epel
Explain a little bit:
The code is as follows:
Yum install XXX-enablerepo=YYY
XXX is the software to be installed, and YYY is the name of the repo source.
It is recommended that you try to choose the same source when installing.
There may be conflicts between software installed from different sources. For example, favod of mplayer.
At this point, I believe you have a deeper understanding of "how to install software under a certain source designated by yum". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!