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.
Step 2: Install and enable 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
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: