How To Install ndiswrapper-source on Ubuntu 20.04

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

Introduction

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

What is ndiswrapper-source

ndiswrapper-source 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 the ndiswrapper kernel module.

Package: ndiswrapper-source 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: 162 Depends: module-assistant, debhelper (>= 5), bzip2 Suggests: kernel-package Filename: pool/universe/n/ndiswrapper/ndiswrapper-source_1.60-8ubuntu2_all.deb Size: 149968 MD5sum: 84609cf65eddb4f1668dc3a75784d1bb SHA1: 871f48dcd36b045c648ccccdaaab95a2caa54653 SHA256: 834ad8af2edf2084197453e98296ce64ce93ca5a960ccd57fe2b70ac41dd4ab2 Homepage: http://ndiswrapper.sourceforge.net/ Description-en: Source for the ndiswrapper Linux kernel module 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 the ndiswrapper kernel module.

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

sudo apt-get -y install ndiswrapper-source

Install ndiswrapper-source Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ndiswrapper-source

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

sudo aptitude -y install ndiswrapper-source

How To Uninstall ndiswrapper-source on Ubuntu 20.04

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

sudo apt-get remove ndiswrapper-source

Uninstall ndiswrapper-source And Its Dependencies

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

sudo apt-get -y autoremove ndiswrapper-source

Remove ndiswrapper-source Configurations and Data

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

sudo apt-get -y purge ndiswrapper-source

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

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

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

References

Summary

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