How To Install almalinux-release on AlmaLinux 8

In this tutorial we learn how to install almalinux-release in AlmaLinux 8. almalinux-release is AlmaLinux release file

Introduction

In this tutorial we learn how to install almalinux-release on AlmaLinux 8.

What is almalinux-release

AlmaLinux release files

We can use yum or dnf to install almalinux-release on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install almalinux-release.

Install almalinux-release on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install almalinux-release using dnf by running the following command:

sudo dnf -y install almalinux-release

Install almalinux-release on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install almalinux-release using yum by running the following command:

sudo yum -y install almalinux-release

How To Uninstall almalinux-release on AlmaLinux 8

To uninstall only the almalinux-release package we can use the following command:

sudo dnf remove almalinux-release

References

Summary

In this tutorial we learn how to install almalinux-release on AlmaLinux 8 using yum and dnf.