Install and enable remi repository in CentOS 6/7/8; Through this tutorial, we will learn how to install and enable remi repository in centOS 6/7/8 version.
Remi’s RPM repository is a free and stable YUM repository mainly for the LAMP stack. It holds packages for the latest versions of LAMP stack. The Remi repository can be used on on CentOS 5/6/7/8
How to install and Enable Remi Repository in Centos 8
Just follow the following steps to install and enable remi repository in CentOS 6/7/8:
- Step 1 – Install REMI on CentOS 8
- Step 2 – Enable REMI on CentOS 8
Step 1 – Install REMI on CentOS 8
First of all, open terminal and execute the following command into it to install REMI repository in centOS:
sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
If we install the
rpm provided by remi in this url sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-<version>.rpm , version being the Centos Release version.
Once the installation is done, confirm that the repo is enabled with this command:
sudo yum repolist
Step 2 – Enable REMI on CentOS 8
Now, execute the following command on terminal to enable remi repository in centOS:
sudo dnf --enablerepo=remi install php-xxx
Through this tutorial, we have learned how to install and enable remi repository in centOS 6/7/8 version.