How To Install ndiswrapper on Ubuntu 20.04

In this tutorial we learn how to install ndiswrapper on Ubuntu 20.04. ndiswrapper is Userspace utilities for the ndiswrapper Linux kernel module Userspace utilities for the ndiswrapper Linux kernel module

Introduction

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

What is ndiswrapper

ndiswrapper 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 contains the userspace tools. You will also need the kernel module package.

Package: ndiswrapper Architecture: amd64 Version: 1.60-8ubuntu2 Priority: optional Section: universe/misc Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Julian Andres Klode [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 83 Provides: ndiswrapper-common, ndiswrapper-utils-1.9 Depends: libc6 (>= 2.14), perl:any Recommends: ndiswrapper-dkms Suggests: ndiswrapper-source Breaks: ndiswrapper-common (« 1.59-4~), ndiswrapper-utils-1.9 (« 1.59-4~) Replaces: ndiswrapper-common (« 1.59-4~), ndiswrapper-utils-1.9 (« 1.59-4~) Filename: pool/universe/n/ndiswrapper/ndiswrapper_1.60-8ubuntu2_amd64.deb Size: 20140 MD5sum: b6be422970abce594ac5a1642bf2c491 SHA1: 681a27f1b9865fcac097cb6d7121b95214a1c76f SHA256: 231a2fc4d07bd6285640abfcc086de2ba1b06c0879d8414966c642d1193d87f3 Homepage: http://ndiswrapper.sourceforge.net/ Description-en: Userspace utilities 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 contains the userspace tools. You will also need the kernel module package.

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

sudo apt-get -y install ndiswrapper

Install ndiswrapper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ndiswrapper

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

sudo aptitude -y install ndiswrapper

How To Uninstall ndiswrapper on Ubuntu 20.04

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

sudo apt-get remove ndiswrapper

Uninstall ndiswrapper And Its Dependencies

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

sudo apt-get -y autoremove ndiswrapper

Remove ndiswrapper Configurations and Data

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

sudo apt-get -y purge ndiswrapper

Remove ndiswrapper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ndiswrapper

References

Summary

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