在CentOS或RHEL上如何安裝Nux Dextop倉庫

下面由centos系統入門教程欄目給大家介紹在centos或rhel上安裝nux dextop倉庫的方法,希望對需要的朋友有所幫助!

在CentOS或RHEL上如何安裝Nux Dextop倉庫

介紹

Nux Dextop是類似CentOS、RHEL、ScientificLinux的第三方RPM倉庫(比如:Ardour,Shutter等等)。目前,Nux Dextop對CentOS/RHEL 6|7可用。

安裝

Nux Dextop庫依賴于EPEL庫,所有要先安裝EPEL庫(需要管理員權限)。
如果安裝過則跳過。

$ su root $ yum -y install epel-release

對于RHEL6/CentOS 6(復制/粘貼):

$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

對于RHEL/CentOS 7(復制/粘貼):

$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

官方安裝說明

檢查Nux Dextop是否安裝成功:

$ yum repolist

如果倉庫列表中有Nux Dextop就安裝成功。

提示

由于Nux Dextop倉庫可能會與其他第三方庫有沖突,比如(Repoforge和ATrpms)。
所以,建議默認情況下不啟用Nux Dextop倉庫。

打開/etc/yum.repos.d/nux-dextop.repo,將”enabled=1″ 修改為 “enabled=0″。

$ sudo vi /etc/yum.repos.d/nux-dextop.repo

當需要使用Nux Dextop倉庫時,顯式啟用倉庫。

$ sudo yum --enablerepo=nux-dextop install <package-name>

? 版權聲明
THE END
喜歡就支持一下吧
點贊5 分享