CentOS下除了EPEL源之外還有REMI的源,REMI源保證了軟件的最新版,注意:並不一定是穩定的。並且安裝了REMI源默認是不開啟的,只有有需要的時候才進行開啟使用。
在CentOS 7上:
# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi # rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
在CentOS 6上:
# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi # rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
使用:
# yum --enablerepo=remi search <keyword> # yum --enablerepo=remi install <package-name>
參考:
https://www.linuxidc.com/Linux/2014-11/109240.htm
