Home  >  Article  >  Operation and Maintenance  >  How to install Nux Dextop repository on CentOS or RHEL

How to install Nux Dextop repository on CentOS or RHEL

藏色散人
藏色散人forward
2020-06-17 13:27:382544browse

The following tutorial column of centos system introduction will introduce to you how to install the Nux Dextop warehouse on CentOS or RHEL. I hope it will be helpful to friends in need!

How to install Nux Dextop repository on CentOS or RHEL

Introduction

Nux Dextop is a third-party RPM warehouse similar to CentOS, RHEL, ScientificLinux (for example: Ardor, Shutter, etc.). Currently, Nux Dextop is available for CentOS/RHEL 6|7.

Installation

The Nux Dextop library depends on the EPEL library, so the EPEL library must be installed first (Requires administrator rights).
Skip if installed.

$ su root
$ yum -y install epel-release

For RHEL6/CentOS 6 (copy/paste):

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

For RHEL/CentOS 7 (copy/paste):

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

Official installation instructions

Check whether Nux Dextop is installed successfully:

$ yum repolist

If there is Nux Dextop in the warehouse list, the installation is successful.

Tips

Because the Nux Dextop warehouse may conflict with other third-party libraries, such as (Repoforge and ATrpms).
Therefore, it is recommended not to enable the Nux Dextop warehouse by default.

Open /etc/yum.repos.d/nux-dextop.repo and change "enabled=1" to "enabled=0".

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

When you need to use the Nux Dextop warehouse, explicitly enable the warehouse.

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

The above is the detailed content of How to install Nux Dextop repository on CentOS or RHEL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jianshu.com. If there is any infringement, please contact admin@php.cn delete