How To Install ndiswrapper-dkms on Debian 9

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

Introduction

In this tutorial we learn how to install ndiswrapper-dkms on Debian 9.

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.

There are three methods to install ndiswrapper-dkms on Debian 9. 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 Debian. 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 Debian 9

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 Debian 9, 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 Debian 9 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

Dependencies

ndiswrapper-dkms have the following dependencies:

References

Summary

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