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.
|