How To Install linux-wlan-ng-firmware on Ubuntu 20.04

In this tutorial we learn how to install linux-wlan-ng-firmware on Ubuntu 20.04. linux-wlan-ng-firmware is firmware files used by the linux-wlan-ng driver

Introduction

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

What is linux-wlan-ng-firmware

linux-wlan-ng-firmware 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.

This package doesn’t contain the firmware files, but a script to download the upstream source tree and build a deb that contains them. Note that only some adapters really need a firmware file and that firmware files are not completely free (in the sense of freely redistributable), that’s why this package exists.

This package is only relevant for PCMCIA and PCI cards, if you have a USB card, install the prism2-usb-firmware-installer package instead.

There are three methods to install linux-wlan-ng-firmware on Ubuntu 20.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-firmware 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-firmware using apt-get by running the following command:

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

Install linux-wlan-ng-firmware Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

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

sudo aptitude -y install linux-wlan-ng-firmware

How To Uninstall linux-wlan-ng-firmware on Ubuntu 20.04

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

sudo apt-get remove linux-wlan-ng-firmware

Uninstall linux-wlan-ng-firmware And Its Dependencies

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

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

Remove linux-wlan-ng-firmware Configurations and Data

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

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

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

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

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

References

Summary

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