Introduction
In this tutorial we learn how to install ap-utils
on Ubuntu 22.04.
What is ap-utils
ap-utils is:
A set of utilities for remotely administrating a variety of wireless
access points via SNMP:
- ap-auth – update authentication list
- ap-config – interactively configure or get statistics from
devices that support MIB-II, IEEE 802.11 MIB or NWN DOT11EXT MIB
and most Atmel-chipset based APs - ap-gl – interactively configure or get statistics from
Atmel Prism-based APs - ap-mrtg – get statistics from an AP in MRTG format
- ap-rrd – get statistics from an AP in RRDtool format
- ap-tftp – update AP firmware by TFTP
- ap-trapd – receive, parse and log trap messages from an AP
Access points supported include Global Sun ProWave GL2411AP, Compex
WavePort WP11, Linksys WAP11, SMC MC2655W, Netgear ME102, Edimax WLAN
Access Point, D-Link DWL 900AP and Eumitcom WA3001A. Others based on
Atmel chipsets or supporting MIB-II, IEEE 802.11 MIB and NWN DOT11EXT
MIB should also work.
There are three methods to install ap-utils
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ap-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 ap-utils
using apt-get
by running the following command:
sudo apt-get -y install ap-utils
Install ap-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ap-utils
using apt
by running the following command:
sudo apt -y install ap-utils
Install ap-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ap-utils
using aptitude
by running the following command:
sudo aptitude -y install ap-utils
How To Uninstall ap-utils on Ubuntu 22.04
To uninstall only the ap-utils
package we can use the following command:
sudo apt-get remove ap-utils
Uninstall ap-utils And Its Dependencies
To uninstall ap-utils
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove ap-utils
Remove ap-utils Configurations and Data
To remove ap-utils
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge ap-utils
Remove ap-utils configuration, data, and all of its dependencies
We can use the following command to remove ap-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ap-utils
References
Summary
In this tutorial we learn how to install ap-utils
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.