How To Install wpa_supplicant on CentOS 8
Introduction
In this tutorial we learn how to install wpa_supplicant on CentOS 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 CentOS 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 CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install wpa_supplicant using yum by running the following command:
sudo yum -y install wpa_supplicant
Install wpa_supplicant on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install wpa_supplicant using dnf by running the following command:
sudo dnf -y install wpa_supplicant
How To Uninstall wpa_supplicant on CentOS 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 CentOS 8 using yum and dnf.