Recommended Services
Supported Scripts

RPMForge has been discontinued. The repository and its maintainer (repoforge.org) shut down in 2019. All RPMForge packages are no longer maintained, receiving no security updates, and the download mirrors are offline. Do not install RPMForge on any system.

This guide covers the actively maintained alternatives that replaced RPMForge for CentOS, AlmaLinux, and Rocky Linux.

Replacement: EPEL (Extra Packages for Enterprise Linux)

EPEL is the primary RPMForge replacement — maintained by the Fedora Project and widely trusted. It provides thousands of packages for RHEL-compatible distributions.

# AlmaLinux / Rocky Linux / CentOS Stream 8
dnf install epel-release -y

# AlmaLinux / Rocky Linux / CentOS Stream 9
dnf install epel-release -y

# CentOS 7 (legacy)
yum install epel-release -y

# Verify EPEL is active
dnf repolist | grep epel

Alternative: Remi Repository (PHP and Software Stacks)

For modern PHP versions and related packages, the Remi repository is the best choice:

# AlmaLinux / Rocky Linux 9
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm -y

# AlmaLinux / Rocky Linux 8
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm -y

# Enable a specific PHP version (e.g., PHP 8.2)
dnf module enable php:remi-8.2 -y
dnf install php -y

Alternative: ELRepo (Hardware / Kernel Drivers)

For kernel modules and hardware drivers (similar to some RPMForge packages):

# AlmaLinux / Rocky Linux 9
dnf install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm -y

# AlmaLinux / Rocky Linux 8
dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm -y

Repository Comparison

RepositoryBest ForMaintained
EPELGeneral extra packages✅ Yes (Fedora Project)
RemiPHP versions, Redis, MariaDB✅ Yes
ELRepoKernel modules, hardware drivers✅ Yes
RPMForge(discontinued)❌ Dead since 2019