In this article, we will have explained the necessary steps to install and configure REMI repository on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
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.
Install REMI Repository on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install REMI Repository.
Before we can actually install Remi, we need to enable the EPEL repository first:
Now, run the following commands to install REMI repository:
Check enabled repositories:
repoid reponame status
AppStream CentOS-8-AppStream 4,890
BaseOS CentOS-8-Base 2,713
*epel ExtraPackagesforEnterpriseLinux8-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'sRPMrepositoryforEnterpriseLinux8-x86_64 1,923
Then, you can install yum-config-manager which will helps you enable and disable a repository quickly:
Now, you can enable repository at runtime:
Congratulation, you have learned how to install and configure REMI repository on CentOS 8. If you have any question, please leave a comment below.