|
We use centos yum, rpm, dnf (centos8) installation files, some beginners in centos6 installed rpm package, when the system up to centos7, and then use the rpm package, found that the installation was successful, but can not be used. This is because, rpm package has system version requirements, we commonly rpm package will have el6, el7 in the word.
What is el, and what is the difference between el6, el7 and el8?
EL is the abbreviation of 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 the package that contains el6, not the others. But in centos8 you can sometimes use el7 packages, which is generally not recommended.
Let's take the latest stable version of ngix 1.81 installation as an example
The nginx rpm installer for centos6.x is: nginx-1.18.0-1.el6.ngx.x86_64.rpm The nginx rpm installer for centos7.x is: nginx-1.18.0-1.el7.ngx.x86_64.rpm The nginx rpm installer for centos8.x is: nginx-1.18.0-1.el8.ngx.x86_64.rpm Original article: https: //blog.csdn.net/hualinux/article/details/105915036
|
Previous: Linux Bash Shell String operationNext: Linux Bash Shell String Operation
|