How To Install WALinuxAgent on AlmaLinux 8

In this tutorial we learn how to install WALinuxAgent in AlmaLinux 8. WALinuxAgent is Microsoft Azure Linux Agent

Introduction

In this tutorial we learn how to install WALinuxAgent on AlmaLinux 8.

What is WALinuxAgent

The Azure Linux Agent supports the provisioning and running of Linux VMs in the Azure cloud. This package should be installed on Linux disk images that are built to run in the Azure environment.

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

Install WALinuxAgent 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 WALinuxAgent using dnf by running the following command:

sudo dnf -y install WALinuxAgent

Install WALinuxAgent 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 WALinuxAgent using yum by running the following command:

sudo yum -y install WALinuxAgent

How To Uninstall WALinuxAgent on AlmaLinux 8

To uninstall only the WALinuxAgent package we can use the following command:

sudo dnf remove WALinuxAgent

References

Summary

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