How To Install libwpa-client-dev on Debian 12

Learn how to install libwpa-client-dev on Debian 12 with this tutorial. libwpa-client-dev is development files for WPA/WPA2 client support (IEEE 802.11i)

Introduction

In this tutorial we learn how to install libwpa-client-dev on Debian 12.

What is libwpa-client-dev

libwpa-client-dev is:

wpa-supplicant is a userspace daemon handling connection and authentication in wireless and wired networks, primarily secured with the WPA/WPA2/WPA3 protocols. This software provides key negotiation with the access point (WPA Authenticator), and controls association with IEEE 802.11i networks.

This package contains static libwpa_client library and header files.

There are three methods to install libwpa-client-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libwpa-client-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libwpa-client-dev using apt-get by running the following command:

sudo apt-get -y install libwpa-client-dev

Install libwpa-client-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libwpa-client-dev using apt by running the following command:

sudo apt -y install libwpa-client-dev

Install libwpa-client-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libwpa-client-dev using aptitude by running the following command:

sudo aptitude -y install libwpa-client-dev

How To Uninstall libwpa-client-dev on Debian 12

To uninstall only the libwpa-client-dev package we can use the following command:

sudo apt-get remove libwpa-client-dev

Uninstall libwpa-client-dev And Its Dependencies

To uninstall libwpa-client-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libwpa-client-dev

Remove libwpa-client-dev Configurations and Data

To remove libwpa-client-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libwpa-client-dev

Remove libwpa-client-dev configuration, data, and all of its dependencies

We can use the following command to remove libwpa-client-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libwpa-client-dev

Dependencies

libwpa-client-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libwpa-client-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.