How to Upgrade to AlmaLinux 8.6 Beta


AlmaLinux 8.6 is finally here and is codenamed Sky Tiger. The new version of the incoming AlmaLinux 8.6 beta is filled with many improvements such as PHP 8.0, Perl 5.32, log4j 2, and container-tools 4.0 with newly added real-time repositories.

The following tutorial will get a step-by-step walkthrough of upgrading an existing AlmaLinux 8.5 system to 8.6 using the command line terminal for those who eagerly want to upgrade their servers or desktops.

Please note that AlmaLinux 8.6 is currently in beta. While AlmaLinux is incredibly stable, and this is not a significant upgrade like the 9.0 beta, it can have conflicts like with any beta, so do not deploy this on a production server you cannot afford to lose time on if anything goes wrong.

Update AlmaLinux

First, you must update your system to ensure all existing packages are up to date to avoid conflicts during the upgrade to AlmaLinux 8.6.

sudo dnf upgrade --refresh

Import the Latest 8.6 Repository

First, open your terminal and clean any obsolete packages before importing the new repository to install 8.6-1.el8.

Advertisement


sudo dnf clean all

Example output:

How to Upgrade to AlmaLinux 8.6 Beta

Note that your output will be different.

Next, import the latest 8.6 repositories.

x86_64 users:

sudo dnf install https://repo.almalinux.org/almalinux/almalinux-release-latest-8-beta.x86_64.rpm

aarch64 users:

sudo dnf install https://repo.almalinux.org/almalinux/almalinux-release-latest-8-beta.aarch64.rpm

ppc64le users:

Advertisement


sudo dnf install https://repo.almalinux.org/almalinux/almalinux-release-latest-8-beta.ppc64le.rpm

s390x users:

sudo dnf install https://repo.almalinux.org/almalinux/almalinux-release-latest-8-beta.s390x.rpm

Example output (x86_64):

How to Upgrade to AlmaLinux 8.6 Beta

Type Y, then press the ENTER KEY to proceed with importing the repository.

Note, when 8.6 is released, the beta will not change to stable automatically, re-install the repository above and remove the beta from the command and you will enable the stable repository.

Example:

sudo dnf install https://repo.almalinux.org/almalinux/almalinux-release-latest-8.x86_64.rpm

Upgrade to AlmaLinux 8.6 Beta

With the repository now added, begin the process of upgrading to 8.6-1.el8.

Advertisement


In your terminal, execute the following.

sudo dnf upgrade --refresh

Example output:

How to Upgrade to AlmaLinux 8.6 Beta

As above, you can see a comprehensive list of packages that will be upgraded, installed, and removed.

See also  How to Install Linux Kernel 6.0 on AlmaLinux 9

Type Y, then press the ENTER KEY to proceed with importing the repository.

Depending on your hardware, resources, and internet connection, the upgrade can take several minutes.

Once the upgrade has been completed, you must reboot your system. While you are in your terminal, execute the following.

Advertisement


reboot

Once logged back in, open your terminal and use the following command to verify the version of AlmaLinux installed.

hostnamectl

Example output:

How to Upgrade to AlmaLinux 8.6 Beta

As above, you have successfully upgraded to the new release.

Comments and Conclusion

In the tutorial, you have learned how to update to AlmaLinux 8.6. Overall, the release is still in mode. Still, if you upgrade and encounter issues, you can report the issue on the AlmaLinux Bug Tracker, and further information can be found on the AlmaLinux 8.6 Wiki changelog.


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment