How To Install linux-wlan-ng on Ubuntu 18.04

In this tutorial we learn how to install linux-wlan-ng on Ubuntu 18.04. linux-wlan-ng is utilities for wireless prism2 cards

Introduction

In this tutorial we learn how to install linux-wlan-ng on Ubuntu 18.04.

What is linux-wlan-ng

linux-wlan-ng is:

linux-wlan-ng is a set of drivers and utilities that is intended to provide the full range of IEEE 802.11 MAC management capabilities for use in user-mode utilities and scripts. The package currently supports the Intersil 802.11b Prism2, Prism2.5, and Prism3 reference designs for PCMCIA, PCI, and USB. Additionally, the package includes support for the PLX9052 based PCI to PCMCIA adapter with a few different PCMCIA cards.

Please note that you probably do not need this package: The prism2_usb driver is included in the default kernel packages since 2.6.31. If you need firmware loading for your prism2_usb device, please just install the prism2-usb-firmware-installer package.

This package ships legacy utilities and scripts for advanced configuration and user-space firmware downloading (support for non-USB devices).

There are three methods to install linux-wlan-ng on Ubuntu 18.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 linux-wlan-ng Using apt-get

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

sudo apt-get update

After updating apt database, We can install linux-wlan-ng using apt-get by running the following command:

sudo apt-get -y install linux-wlan-ng

Install linux-wlan-ng Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install linux-wlan-ng using apt by running the following command:

sudo apt -y install linux-wlan-ng

Install linux-wlan-ng 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 linux-wlan-ng using aptitude by running the following command:

sudo aptitude -y install linux-wlan-ng

How To Uninstall linux-wlan-ng on Ubuntu 18.04

To uninstall only the linux-wlan-ng package we can use the following command:

sudo apt-get remove linux-wlan-ng

Uninstall linux-wlan-ng And Its Dependencies

To uninstall linux-wlan-ng and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove linux-wlan-ng

Remove linux-wlan-ng Configurations and Data

To remove linux-wlan-ng configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge linux-wlan-ng

Remove linux-wlan-ng configuration, data, and all of its dependencies

We can use the following command to remove linux-wlan-ng configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge linux-wlan-ng

References

Summary

In this tutorial we learn how to install linux-wlan-ng package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.