How To Install firmware-ath9k-htc on Ubuntu 18.04
Introduction
In this tutorial we learn how to install firmware-ath9k-htc on Ubuntu 18.04.
What is firmware-ath9k-htc
firmware-ath9k-htc is:
Opensource version of QCA ath9k-htc Firmware. Supported chips are: ar9271 and ar7010
There are three methods to install firmware-ath9k-htc on Ubuntu 18.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 firmware-ath9k-htc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install firmware-ath9k-htc using apt-get by running the following command:
sudo apt-get -y install firmware-ath9k-htc
Install firmware-ath9k-htc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install firmware-ath9k-htc using apt by running the following command:
sudo apt -y install firmware-ath9k-htc
Install firmware-ath9k-htc 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 firmware-ath9k-htc using aptitude by running the following command:
sudo aptitude -y install firmware-ath9k-htc
How To Uninstall firmware-ath9k-htc on Ubuntu 18.04
To uninstall only the firmware-ath9k-htc package we can use the following command:
sudo apt-get remove firmware-ath9k-htc
Uninstall firmware-ath9k-htc And Its Dependencies
To uninstall firmware-ath9k-htc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove firmware-ath9k-htc
Remove firmware-ath9k-htc Configurations and Data
To remove firmware-ath9k-htc configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge firmware-ath9k-htc
Remove firmware-ath9k-htc configuration, data, and all of its dependencies
We can use the following command to remove firmware-ath9k-htc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge firmware-ath9k-htc
References
Summary
In this tutorial we learn how to install firmware-ath9k-htc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.