How To Install broadcom-sta-dkms on Kali Linux

In this tutorial we learn how to install broadcom-sta-dkms on Kali Linux. broadcom-sta-dkms is dkms source for the Broadcom STA Wireless driver

Introduction

In this tutorial we learn how to install broadcom-sta-dkms on Kali Linux.

What is broadcom-sta-dkms

broadcom-sta-dkms is:

Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360-, and BCM4352-based hardware.

This package provides the source code for the wl kernel modules and makes use of the DKMS build utility to install them for the running kernel. The alternative package broadcom-sta-source can be used instead in case of build problems.

The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules.

There are three methods to install broadcom-sta-dkms on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install broadcom-sta-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 broadcom-sta-dkms using apt-get by running the following command:

sudo apt-get -y install broadcom-sta-dkms

Install broadcom-sta-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install broadcom-sta-dkms

Install broadcom-sta-dkms Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install broadcom-sta-dkms

How To Uninstall broadcom-sta-dkms on Kali Linux

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

sudo apt-get remove broadcom-sta-dkms

Uninstall broadcom-sta-dkms And Its Dependencies

To uninstall broadcom-sta-dkms and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove broadcom-sta-dkms

Remove broadcom-sta-dkms Configurations and Data

To remove broadcom-sta-dkms configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge broadcom-sta-dkms

Remove broadcom-sta-dkms configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge broadcom-sta-dkms

Dependencies

broadcom-sta-dkms have the following dependencies:

References

Summary

In this tutorial we learn how to install broadcom-sta-dkms package on Kali Linux using different package management tools: apt, apt-get and aptitude.