How to enable Nux Dextop repository on CentOS or RHEL

Last updated on October 23, 2020 by Dan Nanni

Question: I would like to install a RPM package which is available only in Nux Dextop repository. How can I set up Nux Dextop repository on CentOS or RHEL?

Nux Dextop is a third-party RPM repository which contains many popular desktop and multimedia related packages (e.g., Ardour, Shutter, etc) for CentOS, RHEL and ScientificLinux. Currently, Nux Dextop repository is available for CentOS/RHEL 6 and 7.

To enable Nux Dextop repository on CentOS or RHEL, follow the instructions below.

First of all, be aware that Nux Dextop is designed to coexist with EPEL repository. So you need to enable EPEL in order to use Nux Dextop repo.

After enabling EPEL, go ahead and install Nux Dextop repository as follows.

As the first step, import the official GPG key of Nux Dextop repository:

$ sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

Without GPG key import, you will get the following warning while installing Nux Dextop.

warning: /var/tmp/rpm-tmp.y4VqPB: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY

Then go ahead and install Nux Dextop with yum command as follows. Note that Nux Dextop repository comes as an architecture in-dependent RPM, so you can install the same RPM on both 32-bit and 64-bit architectures.

On CentOS/RHEL 6.*:

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

On CentOS/RHEL 7:

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

Now verify that Nux Dextop repository is successfully installed:

$ yum repolist

For Repoforge/RPMforge Users

According to the author, Nux Dextop is known to cause conflicts with other third-party RPM repos such as Repoforge and ATrpms. Therefore, if you enabled any third-party repos other than EPEL, it is highly recommend you set Nux Dextop repository to default off state. That is, open /etc/yum.repos.d/nux-dextop.repo with a text editor, and change enabled=1 to enabled=0 under nux-desktop.

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

Then whenever you want to install a package from Nux Dextop repo, explicitly enable the repo as follows.

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

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean