How To Install ndiswrapper-dkms on Ubuntu 20.04

In this tutorial we learn how to install ndiswrapper-dkms on Ubuntu 20.04. ndiswrapper-dkms is Source for the ndiswrapper Linux kernel module (DKMS) Source for the ndiswrapper Linux kernel module (DKMS)

Introduction

In this tutorial we learn how to install ndiswrapper-dkms on Ubuntu 20.04.

What is ndiswrapper-dkms

ndiswrapper-dkms is:

Some vendors do not release specifications of the hardware or provide a Linux driver for their wireless network cards. This project implements Windows kernel API and NDIS (Network Driver Interface Specification) API within Linux kernel. A Windows driver for wireless network card is then linked to this implementation so that the driver runs natively, as though it is in Windows, without binary emulation.

This package provides the source code for ndiswrapper kernel module to be build with dkms.

Package: ndiswrapper-dkms Architecture: all Version: 1.60-8ubuntu2 Priority: optional Section: universe/kernel Source: ndiswrapper Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Julian Andres Klode [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 751 Depends: dkms (>= 2.1.0.0) Filename: pool/universe/n/ndiswrapper/ndiswrapper-dkms_1.60-8ubuntu2_all.deb Size: 139616 MD5sum: 91ed940587094d651635bddd561bff34 SHA1: 02e3eb021dd75e45fd5d6c85264ff6565b19f35b SHA256: d5e838cc55bbea7141c87f8afe01d4b2da496ad838ea46f199df2725a2fb8728 Homepage: http://ndiswrapper.sourceforge.net/ Description-en: Source for the ndiswrapper Linux kernel module (DKMS) Some vendors do not release specifications of the hardware or provide a Linux driver for their wireless network cards. This project implements Windows kernel API and NDIS (Network Driver Interface Specification) API within Linux kernel. A Windows driver for wireless network card is then linked to this implementation so that the driver runs natively, as though it is in Windows, without binary emulation.

This package provides the source code for ndiswrapper kernel module to be build with dkms.

There are three methods to install ndiswrapper-dkms 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 ndiswrapper-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 ndiswrapper-dkms using apt-get by running the following command:

sudo apt-get -y install ndiswrapper-dkms

Install ndiswrapper-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ndiswrapper-dkms

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

sudo aptitude -y install ndiswrapper-dkms

How To Uninstall ndiswrapper-dkms on Ubuntu 20.04

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

sudo apt-get remove ndiswrapper-dkms

Uninstall ndiswrapper-dkms And Its Dependencies

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

sudo apt-get -y autoremove ndiswrapper-dkms

Remove ndiswrapper-dkms Configurations and Data

To remove ndiswrapper-dkms configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ndiswrapper-dkms

Remove ndiswrapper-dkms configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ndiswrapper-dkms

References

Summary

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