How can I add and enable REMI repository to CentOS 8 / RHEL 8 system?. 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. This guide will show you how to Install REMI Repository on RHEL 8 / CentOS 8 Linux distribution.

Step 1: Enable EPEL repository

Most REMI packages has dependencies on EPEL repository. Enable EPEL using our guide below.

Enable EPEL Repository on CentOS 8 / RHEL 8

Step 2: Install / Enable REMI Repository on CentOS 8 / RHEL 8

Run the following commands in your terminal to install REMI repository on CentOS 8 / RHEL 8.

sudo dnf -y install

Check enabled repositories.

$ sudo yum repolist
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 REMI Repository on CentOS 8 / RHEL 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.

Other RHEL 8 / CentOS 8 articles:

Install Graylog 3 with Elasticsearch 6.x on CentOS / RHEL 8

How To Install Percona MySQL Server 8 on CentOS / RHEL 8

How To Configure NFS Client on CentOS / RHEL 8

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here