How To Install ap-utils on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 464 words
Introduction
In this tutorial we learn how to install ap-utils
on Ubuntu.
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. 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
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, 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 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
Dependencies
ap-utils have the following dependencies:
References
Summary
In this tutorial we learn how to install ap-utils
package on Ubuntu using different package management tools: apt, apt-get and aptitude.