How To Install osinfo-db-tools on Rocky Linux 8

In this tutorial we learn how to install osinfo-db-tools on Rocky Linux 8. osinfo-db-tools is Tools for managing the osinfo database

Introduction

In this tutorial we learn how to install osinfo-db-tools on Rocky Linux 8.

What is osinfo-db-tools

This package provides tools for managing the osinfo database of information about operating systems for use with virtualization

We can use yum or dnf to install osinfo-db-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install osinfo-db-tools.

Install osinfo-db-tools on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install osinfo-db-tools using dnf by running the following command:

sudo dnf -y install osinfo-db-tools

Install osinfo-db-tools on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install osinfo-db-tools using yum by running the following command:

sudo yum -y install osinfo-db-tools

How To Uninstall osinfo-db-tools on Rocky Linux 8

To uninstall only the osinfo-db-tools package we can use the following command:

sudo dnf remove osinfo-db-tools

osinfo-db-tools Package Contents on Rocky Linux 8

/usr/bin/osinfo-db-export
/usr/bin/osinfo-db-import
/usr/bin/osinfo-db-path
/usr/bin/osinfo-db-validate
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/b26cb1df4cc207caaddbaa1bcd7c84cb50f6f5
/usr/lib/.build-id/45
/usr/lib/.build-id/45/c044c6891ed461a52e91c82ba0f9e699b42ac1
/usr/lib/.build-id/55
/usr/lib/.build-id/55/58f730e4a265bcd86c1769823dec373de01c0f
/usr/lib/.build-id/db
/usr/lib/.build-id/db/c9aa80a7530c9ad24d71f02a1188eeefb473d9
/usr/share/doc/osinfo-db-tools
/usr/share/doc/osinfo-db-tools/NEWS
/usr/share/doc/osinfo-db-tools/README
/usr/share/licenses/osinfo-db-tools
/usr/share/licenses/osinfo-db-tools/COPYING
/usr/share/locale/ca/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/cs/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/de/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/es/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/fr/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/id/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/ja/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/pl/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/pt_BR/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/pt_PT/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/ru/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/tr/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/locale/uk/LC_MESSAGES/osinfo-db-tools.mo
/usr/share/man/man1/osinfo-db-export.1.gz
/usr/share/man/man1/osinfo-db-import.1.gz
/usr/share/man/man1/osinfo-db-path.1.gz
/usr/share/man/man1/osinfo-db-validate.1.gz

References

Summary

In this tutorial we learn how to install osinfo-db-tools on Rocky Linux 8 using yum and dnf.