RockyLinux Repository List (Working URLs)

The community-driven RHEL fork RockyLinux uses the DNF package manager, and the repositories are essential for updating and installing software. This knowledge base lists the official and third-party RockyLinux repository URLs list needed to work efficiently.

Configuring Repositories

  • To configure these repositories, edit or create .repo files under /etc/yum.repos.d/.
  • Ensure the GPG keys are added to your system to maintain package integrity.
  • Enable or disable repositories as needed using the dnf config-manager --enable/--disable <reponame> command.

1. BaseOS Repository

Essential system packages that form the base of RockyLinux is found in BaseOS repository.

[baseos]                                                                            name=Rocky Linux $releasever - BaseOS                                               mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever                                                                                  
gpgcheck=1 enabled=1 countme=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

2. AppStream Repository

AppStream repository provides application streams and various additional packages.

[appstream]                                                                                                                                                                 name=Rocky Linux $releasever - AppStream                                                                                                                                    mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever                                                                                                                                                                         gpgcheck=1                                                                                                                                                                  enabled=1                                                                                                                                                                   countme=1                                                                                                                                                                   gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

3. Extras Repository

BaseOS or AppStream does not provide supplementary packages. For that, use the Extras Repository in RockyLinux.

[extras]                                                                                                                                                                    name=Rocky Linux $releasever - Extras                                                                                                                                       mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever                                                                                                                                                                              gpgcheck=1                                                                                                                                                                  enabled=1                                                                                                                                                                   countme=1                                                                                                                                                                   gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

4. PowerTools Repository

Developer tools and libraries are typically not installed by default. To use it, use the PowerTools Repository in RockyLinux.

[powertools]                                                                                                                                                                name=Rocky Linux $releasever - PowerTools                                                                                                                                   mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever                                                                                                                                                                      gpgcheck=1                                                                                                                                                                  enabled=0                                                                                                                                                                   countme=1                                                                                                                                                                   gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

5. High Availability Repository

Packages for high-availability services.

[ha]
name=Rocky Linux $releasever - HighAvailability
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/HighAvailability/$basearch/os/
gpgcheck=1
enabled=0
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

6. Resilient Storage Repository

Offers packages for scalable and highly available storage solutions.

[resilient-storage]
name=Rocky Linux $releasever - ResilientStorage
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/ResilientStorage/$basearch/os/
gpgcheck=1
enabled=0
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

7. Devel Repository

Less stable development packages.

[devel]
name=Rocky Linux $releasever - Devel
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=Devel-$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/Devel/$basearch/os/
gpgcheck=1
enabled=0
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

8. Sources Repository

The source repository contains the source code for packages, allowing users to build software from the source, review code, or contribute to development.

[baseos-source]
name=Rocky Linux $releasever - BaseOS - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=BaseOS-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[appstream-source]
name=Rocky Linux $releasever - AppStream - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=AppStream-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[extras-source]
name=Rocky Linux $releasever - Extras - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=extras-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/extras/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[plus-source]
name=Rocky Linux $releasever - Plus - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=plus-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/plus/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[ha-source]
name=Rocky Linux $releasever - High Availability - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=HighAvailability-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/HighAvailability/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[powertools-source]
name=Rocky Linux $releasever - PowerTools - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=PowerTools-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/PowerTools/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[resilient-storage-source]
name=Rocky Linux $releasever - Resilient Storage - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=ResilientStorage-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/ResilientStorage/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[powertools-source]
name=Rocky Linux $releasever - PowerTools - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=PowerTools-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/PowerTools/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[resilient-storage-source]
name=Rocky Linux $releasever - Resilient Storage - Source
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=ResilientStorage-$releasever-source
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/ResilientStorage/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

Additional Repositories

For the RockyLinux repository URLs list not covered here, like Rocky-NFV, Rocky-RT, Rocky-Plus, Rocky-Media, and Rocky-Sources, you would generally enable them based on specific needs as they contain more niche or less frequently used packages.

Tips for Managing Repositories

  • Always ensure the GPG keys are imported correctly to avoid security warnings.
  • Use the dnf config-manager tool to enable or disable repositories as needed.
  • Regularly check for updates to keep your system secure.

This list includes official RockyLinux repositories and some useful third-party repositories for added functionality. Similarly, you can also easily configure the Repo URL list for AlmaLinux, CentOSCentOS Stream, and Ubuntu. To find the working URLs, visit this link: 
CentOS: https://www.veeble.org/kb/centos-repo-list-working-urls/
CentOS Stream: https://www.veeble.org/kb/centos-stream-repo-list-working-urls/
Ubuntu: https://www.veeble.org/kb/sources-list-file-urls-ubuntu/
AlmaLinux: https://www.veeble.org/kb/almalinux-yum-repository-list-working-urls/

Unleash the Power of AWS, Without the Hassle

WS offers incredible potential, but managing it can be complex. Veeble’s managed hosting simplifies everything, from setup to security, so you can benefit from AWS without the headaches.

Scroll to Top