How To Install osinfo-db-tools on Debian 9
Introduction
In this tutorial we learn how to install osinfo-db-tools
on Debian 9.
What is osinfo-db-tools
osinfo-db-tools is:
libosinfo is a GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support. It provides APIs to match/identify optimal devices for deploying an operating system on a hypervisor.
This package contains the tools for managing the installation, bundling and distribution of libosinfo’s database files.
There are three methods to install osinfo-db-tools
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install osinfo-db-tools Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install osinfo-db-tools
using apt-get
by running the following command:
Install osinfo-db-tools Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install osinfo-db-tools
using apt
by running the following command:
Install osinfo-db-tools 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.
After updating apt database, We can install osinfo-db-tools
using aptitude
by running the following command:
How To Uninstall osinfo-db-tools on Debian 9
To uninstall only the osinfo-db-tools
package we can use the following command:
Uninstall osinfo-db-tools And Its Dependencies
To uninstall osinfo-db-tools
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove osinfo-db-tools Configurations and Data
To remove osinfo-db-tools
configuration and data from Debian 9 we can use the following command:
Remove osinfo-db-tools configuration, data, and all of its dependencies
We can use the following command to remove osinfo-db-tools
configurations, data and all of its dependencies, we can use the following command:
Dependencies
osinfo-db-tools have the following dependencies:
References
Summary
In this tutorial we learn how to install osinfo-db-tools
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.