How to Enable REMI Repository in CentOS 8

Posted on

How to Enable REMI Repository on CentOS 8. REMI repository is one of “must installed” repository on CentOS 8, especially if you are using CentOS 8 as server. REMI repository is a third-party repository that includes up-to-date versions of Apache, MySQL / MariaDB, PHP, and related software, for RPM-based distributions.

To enable REMI repository in CentOS 8 is easy, you can using dnf package manager.

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

Next, install dnf-utils

sudo dnf -y install dnf-utils

Now, you can install package using REMI repository. Because REMI repository is disabled by default, you can temporarily enable it using this command

sudo dnf --enablerepo=remi install package-name

Or if you want to enable Remi permanently, edit /etc/yum.repos.d/remi.repo and replace

enabled=0

with

enabled=1

Ok. So, that’s for today. Ask me everything if you have any problem with this tutorial. And dont forget to share it if you think it is helpful. Thank you and see you in the next tutorial.

Budak korporat yang hobi nulis. Pengguna Kali Linux sebagai daily driver. Kadang nonton anime di waktu luang.