How to Install and Uninstall hostapd Package on Ubuntu 21.10 (Impish Indri)

Last updated: February 02,2025

1. Install "hostapd" package

Here is a brief guide to show you how to install hostapd on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install hostapd

2. Uninstall "hostapd" package

This tutorial shows how to uninstall hostapd on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove hostapd $ sudo apt autoclean && sudo apt autoremove

3. Information about the hostapd package on Ubuntu 21.10 (Impish Indri)

Package: hostapd
Architecture: amd64
Version: 2:2.9.0-21build1
Multi-Arch: foreign
Priority: optional
Section: universe/net
Source: wpa
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian wpasupplicant Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2080
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.34), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.7), libssl1.1 (>= 1.1.0), lsb-base
Breaks: initscripts (<< 2.88dsf-13.3)
Filename: pool/universe/w/wpa/hostapd_2.9.0-21build1_amd64.deb
Size: 809544
MD5sum: 46c46a2b44c191521d4558247832735d
SHA1: 9b7ea54a24a6a8b2667679e6bc54439cda0c7ea5
SHA256: d3342a33cb60843c7b2a03eeafe93b7104400fda749c5312f7cf1f5b9dd91606
SHA512: 0015e1e72d205cc8ee779e8a3f03f84e202ad4c505e385e46144b3056815b89866a99bacfc053bfef7e9ed5e870f01fe713a2667b2925eb5ba97359e687b6f22
Homepage: https://w1.fi/wpa_supplicant/
Description-en: access point and authentication server for Wi-Fi and Ethernet
IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/WPA3/EAP Authenticator
.
Originally, hostapd was an optional user space component for Host AP
driver. It adds more features to the basic IEEE 802.11 management
included in the kernel driver: using external RADIUS authentication
server for MAC address based access control, IEEE 802.1X Authenticator
and dynamic WEP keying, RADIUS accounting, WPA/WPA2/WPA3 (IEEE 802.11i/RSN)
Authenticator and dynamic TKIP/CCMP keying.
.
The current version includes support for other drivers, an integrated
EAP authenticator (i.e., allow full authentication without requiring
an external RADIUS authentication server), and RADIUS authentication
server for EAP authentication.
.
hostapd works with the following drivers:
.
* mac80211 based drivers with support for master mode [linux]
* Host AP driver for Prism2/2.5/3 [linux]
* Driver interface for FreeBSD net80211 layer [kfreebsd]
* Any wired Ethernet driver for wired IEEE 802.1X authentication.
Description-md5: 257c9917c3f422bfd740e723bd810814