艾儿喂 發表於 2017-4-6 16:59:50

在CentOS上如何安装Nux Dextop仓库?

<p><strong>介绍</strong></p>
<p>Nux Dextop是类似CentOS、RHEL、ScientificLinux的第三方RPM仓库(比如:Ardour,Shutter等等)。目前,Nux Dextop对CentOS/RHEL 6|7可用。</p>
<p><strong>安装</strong></p>
<p>Nux Dextop库依赖于EPEL库,所有要先安装EPEL库(<em>需要管理员权限</em>)。&nbsp;<br />
如果安装过则跳过。</p>
<div class="jb51code">
<pre class="brush:bash;">
$ su root
$ yum -y install epel-release</pre>
</div>
<p>对于RHEL6/CentOS 6(复制/粘贴):</p>
<div class="jb51code">
<pre class="brush:bash;">
$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm</pre>
</div>
<p>对于RHEL/CentOS 7(复制/粘贴):</p>
<div class="jb51code">
<pre class="brush:bash;">
$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm</pre>
</div>
<p>检查Nux Dextop是否安装成功:</p>
<div class="jb51code">
<pre class="brush:bash;">
$ yum repolist </pre>
</div>
<p>如果仓库列表中有<strong>Nux Dextop</strong>就安装成功。</p>
<p><strong>提示</strong></p>
<p>由于<strong>Nux Dextop</strong>仓库可能会与其他第三方库有冲突,比如(Repoforge和ATrpms)。&nbsp; 所以,建议默认情况下不启用<strong>Nux Dextop</strong>仓库。</p>
<p>打开/etc/yum.repos.d/nux-dextop.repo,将&rdquo;enabled=1&rdquo; 修改为 &ldquo;enabled=0&rdquo;。</p>
<div class="jb51code">
<pre class="brush:bash;">
$ sudo vi /etc/yum.repos.d/nux-dextop.repo</pre>
</div>
<p>当需要使用Nux Dextop仓库时,显式启用仓库。</p>
<div class="jb51code">
<pre class="brush:bash;">
$ sudo yum --enablerepo=nux-dextop install &lt;package-name&gt; </pre>
</div>
頁: [1]
查看完整版本: 在CentOS上如何安装Nux Dextop仓库?