How To Install wpa_supplicant on AlmaLinux 8

In this tutorial we learn how to install wpa_supplicant in AlmaLinux 8. wpa_supplicant is WPA/WPA2/IEEE 802.1X Supplicant

Introduction

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

What is wpa_supplicant

wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

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

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

sudo dnf -y install wpa_supplicant

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

sudo yum -y install wpa_supplicant

How To Uninstall wpa_supplicant on AlmaLinux 8

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

sudo dnf remove wpa_supplicant

References

Summary

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