IUS Repository On CentOS 7 : How To Enable
Posted on March 18, 2021 • 2 min read • 236 wordsIn this tutorial we'll learn how to enable IUS repository on CentOS 7. IUS stands for Inline with Upstream Stable.
In this tutorial we’ll learn how to enable IUS repository on CentOS 7. IUS stands for Inline with Upstream Stable.
IUS will update RPM packages once new versions released by upstream developers. IUS will also not replace stock RPM packages or pacakges that shipped with distribution. The goal of IUS project is to provide high quality RPM packages for Red Hat Enterprise Linux (RHEL) and CentOS.
Import CentOS 7 GPG Public Key using the command below. This key will be used by rpm or yum to verify the package is not corrupt.
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
```bash
Install `ius-release` rpm package using the command below.
```bash
sudo yum install https://centos7.iuscommunity.org/ius-release.rpm
yum will resolve dependencies and gives output similar to output below. Press Y to continue the installation.
Yum will continue downloading rpm packages and installing the necessary packages.
To list all repository on CentOS 7 we can use the command below.
yum repolist
```bash
To list all IUS repositories in CentOS 7 you can disable the remaining repo and only enable IUS repositories. You can use command below to list ius repositories.
```bash
yum --disablerepo="*" --enablerepo="ius" list available
In this tutorial we learn how to enable IUS repository on CentOS 7. By enabling IUS repository we can have latest stable version of multiple applications align with upstream projects.