enable remi repository
enable remi repository

How do I add and enable the REMI repository on a CentOS 8 or RHEL 8 system? REMI is a free repository maintained by the Remi team, aimed at providing the latest, fully-featured versions of PHP and other useful software packages. It supports Fedora and Enterprise Linux distributions like RHEL, CentOS, Oracle Linux, and Scientific Linux.

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.

Enable EPEL repository

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

Install REMI repository

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

sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

Check enabled repositories.

$ sudo yum repolist
repo id                                                                       repo name
appstream                                                                     Rocky Linux 8 - AppStream
baseos                                                                        Rocky Linux 8 - BaseOS
docker-ce-stable                                                              Docker CE Stable - x86_64
epel                                                                          Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                                  Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                                        Rocky Linux 8 - Extras
powertools                                                                    Rocky Linux 8 - PowerTools
remi-modular                                                                  Remi's Modular repository for Enterprise Linux 8 - x86_64
remi-safe                                                                     Safe Remi's RPM repository for Enterprise Linux 8 - x86_64
rethinkdb                                                                     RethinkDB

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 and use REMI repository

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 your Linux system. Our next guides will demonstrate how to use REMI repository to install packages.

Other guides:

LEAVE A REPLY

Please enter your comment!
Please enter your name here