AlmaLinux, a RHEL-based distribution, uses DNF for package management, and the repositories are essential for updating and installing software. This knowledge base lists the official and third-party repositories needed for your AlmaLinux 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. Base OS and AppStream Repository [almalinux.repo]
The almalinux.repo
file contains the BaseOS Repository and AppStream Repository. BaseOS Repository contains essential packages that are required for the base system, whereas AppStream Repository contains additional packages for servers and workstations. Extra Repository is another optional repository that provides supplementary packages that aren’t in BaseOS or AppStream.
[baseos]
name=AlmaLinux $releasever - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
[appstream]
name=AlmaLinux $releasever - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
[extras]
name=AlmaLinux $releasever - Extras
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
2. PowerTools Repository [almalinux-powertools.repo]
PowerTools Repository contains additional developer package tools and libraries that are typically used by developers.
[powertools]
name=AlmaLinux $releasever - PowerTools
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
3. High Availability (HA) Repository [almalinux-ha.repo]
This repository contains packages related to high-availability systems.
[ha]
name=AlmaLinux $releasever - HighAvailability
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/ha
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
4. Plus Repository [almalinux-plus.repo]
The almalinux-plus.repo
file contains supplementary packages not included in the main repositories.
[plus]
name=AlmaLinux $releasever - Plus
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/plus
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
5. Resilient Storage Repository [almalinux-resilientstorage.repo]
The almalinux-resilientstorage.repo
in AlmaLinux provides packages for Resilient Storage, which focuses on clustering and high-availability solutions.
[resilientstorage]
name=AlmaLinux $releasever - ResilientStorage
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/resilientstorage
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
6. SAP Repository [almalinux-sap.repo]
The almalinux-sap.repo
provides necessary software components for businesses running SAP solutions on AlmaLinux, offering a reliable and optimized platform for enterprise operations.
[sap]
name=AlmaLinux $releasever - SAP
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/sap
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
7. NFV Repository [almalinux-nfv.repo]
The almalinux-nfv.repo
provides essential tools and packages for deploying and managing virtualized network functions, enhancing flexibility, and reducing the reliance on hardware-based network appliances.
[nfv]
name=AlmaLinux $releasever - Real Time for NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
How to Update Repositories after Configuring Repos?
Once the repositories are configured, you can update the package index using:
sudo dnf update
This list includes official AlmaLinux repositories as well as some useful third-party repositories for added functionality. You can also easily configure the Repo URL list for CentOS, CentOS Stream, RockyLinux, 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/
RockyLinux: https://www.veeble.org/kb/rockylinux-repository-list-working-urls/