Install REMI Repository on CentOS 8 linux

REMI is a free to use repository created and maintained by a Remi Collect. The REMI repository main goal is to provide the latest versions of the PHP stack, full featured, and some other software packages to the Fedora and Enterprise Linux (RHEL, CentOS, Oracle, Scientific Linux) operating systems.
Most of the packages provided by REMI are not in the default operating system repositories. If they exist, they’re certainly outdated and lacks more recent feature addition.
In this article we will show you how to install and enable REMI Repository on CentOS 8 linux.

Install REMI Repository on CentOS 8


Before we can actually install Remi, we need to enable the EPEL repository first.

# sudo dnf -y install

Now, run the following commands in your terminal to install REMI repository on CentOS 8.

# sudo dnf -y install

Check enabled repositories.

# sudo yum repolist

Example output:

Last metadata expiration check: 0:00:04 ago on Tue 24 Sep 2019 08:20:18 PM EAT.
repo id                                        repo name                                                                                     status
AppStream                                      CentOS-8 - AppStream                                                                          4,890
BaseOS                                         CentOS-8 - Base                                                                               2,713
*epel                                          Extra Packages for Enterprise Linux 8 - x86_64                                                1,478
extras                                         CentOS-8 - Extras                                                                                 3
remi-modular                                   Remi's Modular repository for Enterprise Linux 8 - x86_64                                         0
remi-safe                                      Safe Remi's RPM repository for Enterprise Linux 8 - x86_64                                    1,923

You can install yum-config-manager which will helps you enable and disable a repository quickly from the command line.

# sudo dnf -y install dnf-utils

Enable Repository on CentOS 8


Then you can enable repository at runtime.

# sudo dnf --enablerepo=remi install php-xxx

That’s how easy it is to Install REMI repository on RHEL 8 / CentOS 8 Linux system. Our next guides will demonstrate how to use REMI repository to install packages.

Leave a Reply

Your email address will not be published. Required fields are marked *