歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 在CentOS或RHEL上安裝Nux Dextop倉庫

在CentOS或RHEL上安裝Nux Dextop倉庫

日期:2017/2/28 13:51:48   编辑:Linux教程

介紹

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>

Copyright © Linux教程網 All Rights Reserved