Linux

How to install hwdata in Ubuntu

In this article, we will show you how you can install the `hwdata` package in Ubuntu systems.
Captain Salem 1 min read
How to install hwdata in Ubuntu

hwada is free and open-source tool that provides hardware identification and configuration data. It comes with a database of configuration information such as PCI ids, XFree86/Xorg cards and more. hwdata is a great tool when you need to add hardware identification capabilities.

This tutorial has been tested on Ubuntu 22 Ubunut 20, Ubuntu 18, and Ubuntu 16

Requirements

To follow along with this tutorial, you will need:

  1. A running installation of Ubuntu
  2. A sudo or root account.

Installing hwdata with apt

The simplest method to setup the hwdata package on your system is by using the apt package manager.

Start by updating your system packages as:

sudo apt-get update

Once updated, run the command below to install the hwdata package.

sudo apt-get install -y hwdata

The command will prompt you to enter the password for the sudo account. Proceed to provide the password and install the package.

You can also use the commands:

sudo apt install -y hwdata
sudo aptitude install -y hwdata

Uninstalling hwdata

To remove the hwdata package, you can run the command:

sudo apt-get remove hwdata

To remove hwdata configuration files and dependencies, use the autoremove command as:

sudo apt-get autoremove --purge -y hwdata

And with that, you have come to the end of this article.

Closing

In this short tutorial, we covered how to install the hwdata package in your Ubuntu system.

Feel free to share and leave us a comment down below.

Thanks for reading & I'll see you in the next one!!!!

If you enjoy our content, please consider buying us a coffee to support our work:

Share
Comments
More from GeekBits

Join us at GeekBits

Join our members and get a currated list of awesome articles each month.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to GeekBits.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.