How To Install broadcom-sta-dkms on Ubuntu 20.04

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

Introduction

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

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.

Package: broadcom-sta-dkms Architecture: all Version: 6.30.223.271-12 Priority: optional Section: multiverse/admin Source: broadcom-sta Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Eduard Bloch [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 14141 Provides: broadcom-sta-modules Depends: dkms (>= 2.1.0.0) Recommends: wireless-tools Conflicts: broadcom-sta-modules Filename: pool/multiverse/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-12_all.deb Size: 2204732 MD5sum: 53eed0daa3112dac61f116dd84180f93 SHA1: 8ee99e1955995bd4e1148d8f9118417261c47a58 SHA256: 8d647e5127cbfbcbb074f3a950ad30d4caaf4e371680e08d420593e1d0c99d6a Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Description-en: dkms source for the Broadcom STA Wireless driver 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 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 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 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 broadcom-sta-dkms using aptitude by running the following command:

sudo aptitude -y install broadcom-sta-dkms

How To Uninstall broadcom-sta-dkms on Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

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