Excellent software and practical tutorials
What is EPEL?
EPEL,enterprise Linux EPEL is an open source free repository that provides additional packages for Enterprise Linux. The EPEL repository was created because Fedora contributors wanted to use their RHEL and other compatible distributions (such as CentOS,Rocky Linux, AlmaLinux, etc.)
The EPEL repository is also known for bringing additional and updated packages that may be in the core repository and required dependencies from other external repositories such as the Remi PHP repository.
Install EPEL
First update the CentOS stream to make sure all existing packages are the latest ones.
sudo dnf upgrade --refresh -y
Remove the DNF Subscription Manager.
at present,CentOS Stream 9 DNF PluginsManager may cause problems with the subscription manager. In the long run, this will be beneficial from future ISO , because CentOS Stream is free to use, but you need to remove it manually, otherwise you will not be able to continue with the installation.
sudo dnf erase subscription-manager -y
Install the EPEL repository. Since CentOS 9 Stream is the upstream version of RHEL, it is recommended to install both repositories. Its packages may be commonly needed now.
First, enable CRB.
sudo dnf config-manager --set-enabled crb
Next,Install EPEL
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
Confirm whether EPEL or EPEL Next is installed successfully
sudo dnf repolist | grep epel
Congratulations, you have successfully installed EPEL!
How to remove (uninstall) EPEL or EPEL Next
Ideally, you should not need to remove the repository after installation. However, if you must remove it, use the following command.
Remove the EPEL repository:
sudo dnf remove epel-release
To remove the EPEL Next repository:
sudo dnf remove epel-next-release
EPEL is a well-known and heavily used repository. You may want to install it on downstream versions of RHEL, as it often contains base packages on a daily basis, especially onserversuperior.
Enable REMI repository
Since EPEL is not ready yet, now you have to enable the "remi" repository, which provides a lot of packages that are normally available in EPEL.
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf config-manager --set-enabled remi