How To Install backport-iwlwifi-dkms on Ubuntu 22.04

In this tutorial we learn how to install backport-iwlwifi-dkms on Ubuntu 22.04. backport-iwlwifi-dkms is iwlwifi driver backport in DKMS format

Introduction

In this tutorial we learn how to install backport-iwlwifi-dkms on Ubuntu 22.04.

What is backport-iwlwifi-dkms

backport-iwlwifi-dkms is:

Intel works with periodic releases of the iwlwifi driver that are tested with a specific combination of components such as firmware and hostap. These releases can be seen as snapshots of the development trees (including upstream) that can be used on older kernels.

This package provides iwlwifi modules built from iwlwifi-public defconfig based on upstream master branch.

There are three methods to install backport-iwlwifi-dkms 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 backport-iwlwifi-dkms Using apt-get

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

sudo apt-get update

After updating apt database, We can install backport-iwlwifi-dkms using apt-get by running the following command:

sudo apt-get -y install backport-iwlwifi-dkms

Install backport-iwlwifi-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install backport-iwlwifi-dkms using apt by running the following command:

sudo apt -y install backport-iwlwifi-dkms

Install backport-iwlwifi-dkms 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 backport-iwlwifi-dkms using aptitude by running the following command:

sudo aptitude -y install backport-iwlwifi-dkms

How To Uninstall backport-iwlwifi-dkms on Ubuntu 22.04

To uninstall only the backport-iwlwifi-dkms package we can use the following command:

sudo apt-get remove backport-iwlwifi-dkms

Uninstall backport-iwlwifi-dkms And Its Dependencies

To uninstall backport-iwlwifi-dkms and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove backport-iwlwifi-dkms

Remove backport-iwlwifi-dkms Configurations and Data

To remove backport-iwlwifi-dkms configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge backport-iwlwifi-dkms

Remove backport-iwlwifi-dkms configuration, data, and all of its dependencies

We can use the following command to remove backport-iwlwifi-dkms configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge backport-iwlwifi-dkms

References

Summary

In this tutorial we learn how to install backport-iwlwifi-dkms package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.