This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17797|Reply: 0

[linux] Linux environment basics: the difference between installing el6, el7, and el8 in rpm packages

[Copy link]
Posted on 9/30/2021 1:48:02 PM | | |
When we use centos yum, rpm, dnf (centos8) to install files, some beginners install rpm packages in centos6, when the system is upgraded to centos7, and then use the rpm package, find that the installation is successful, but it cannot be used. This is because the rpm package has system version requirements, and we often have the words EL6 and EL7 in the rpm package.

What exactly is EL, and what is the difference between EL6, EL7, and EL8?

EL is an abbreviation for Red Hat Enterprise Linux (EL).

EL5 is Red Hat 5.x, CentOS 5.x
EL6 is Red Hat 6.x, CentOS 6.x
EL7 is Red Hat 7.x, CentOS 7.x
EL8 is Red Hat 8.x, CentOS 8.x
So when we use centos6, we should use packages that contain el6, not others. But in centos8 you can sometimes use EL7's package, which is generally not recommended.

Let's take the latest stable version 1.81 of ngix as an example

The nginx rpm installation package for centos6.x is: gninx-1.18.0-1.el6.ngx.x86_64.rpm
The nginx rpm installation package for centos7.x is nginx-1.18.0-1.el7.ngx.x86_64.rpm      
The nginx rpm installation package for centos8.x is: nginx-1.18.0-1.el8.ngx.x86_64.rpm
Original:The hyperlink login is visible.





Previous:Linux Bash Shell String operation
Next:Regularly back up remote MySQL databases in Linux environments
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com