How To Install usb.ids on Debian 11

In this tutorial we learn how to install usb.ids on Debian 11. usb.ids is USB ID Repository

Introduction

In this tutorial we learn how to install usb.ids on Debian 11.

What is usb.ids

usb.ids is:

This package contains the usb.ids file, a public repository of all known ID’s used in USB devices: ID’s of vendors, devices, subsystems and device classes. It is used in various programs to display full human-readable names instead of cryptic numeric codes.

There are three methods to install usb.ids on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install usb.ids Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install usb.ids using apt-get by running the following command:

sudo apt-get -y install usb.ids

Install usb.ids Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install usb.ids using apt by running the following command:

sudo apt -y install usb.ids

Install usb.ids 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install usb.ids using aptitude by running the following command:

sudo aptitude -y install usb.ids

How To Uninstall usb.ids on Debian 11

To uninstall only the usb.ids package we can use the following command:

sudo apt-get remove usb.ids

Uninstall usb.ids And Its Dependencies

To uninstall usb.ids and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove usb.ids

Remove usb.ids Configurations and Data

To remove usb.ids configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge usb.ids

Remove usb.ids configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge usb.ids

Dependencies

usb.ids have the following dependencies:

References

Summary

In this tutorial we learn how to install usb.ids package on Debian 11 using different package management tools: apt, apt-get and aptitude.