How To Install hostap-utils on Debian 9
Introduction
In this tutorial we learn how to install hostap-utils
on Debian 9.
What is hostap-utils
hostap-utils is:
This is a Linux driver for wireless LAN cards based on Intersil’s Prism2/2.5/3 chipset. The driver supports a so called Host AP mode, i.e., it takes care of IEEE 802.11 management functions in the host computer and acts as an access point. This does not require any special firmware for the wireless LAN card. In addition to this, it has support for normal station operations in BSS and possible also in IBSS.
This packages contains binary utilities for use with hostap.
There are three methods to install hostap-utils
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install hostap-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install hostap-utils
using apt-get
by running the following command:
sudo apt-get -y install hostap-utils
Install hostap-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install hostap-utils
using apt
by running the following command:
sudo apt -y install hostap-utils
Install hostap-utils 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 hostap-utils
using aptitude
by running the following command:
sudo aptitude -y install hostap-utils
How To Uninstall hostap-utils on Debian 9
To uninstall only the hostap-utils
package we can use the following command:
sudo apt-get remove hostap-utils
Uninstall hostap-utils And Its Dependencies
To uninstall hostap-utils
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove hostap-utils
Remove hostap-utils Configurations and Data
To remove hostap-utils
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge hostap-utils
Remove hostap-utils configuration, data, and all of its dependencies
We can use the following command to remove hostap-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hostap-utils
Dependencies
hostap-utils have the following dependencies:
References
Summary
In this tutorial we learn how to install hostap-utils
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.