(TIL) Nix: Install Packages From A Specific Repository

less than 1 minute read

Here’s how to install a package from a specific repository:

## Yum Commands

# List repos
sudo yum repolist all
# Install the nagios package from the EPEL repository.
sudo yum --enablerepo=epel install nagios

## Apt Commands

# Install the lxd package from the xenial-backports repository.
sudo apt-get -t xenial-backports install lxd

Via ostechnix.com.

Tags: ,

Categories:

Updated:

Comments