How To Install libosinfo on Rocky Linux 8
Introduction
In this tutorial we learn how to install libosinfo
on Rocky Linux 8.
What is libosinfo
libosinfo is a library that allows virtualization provisioning tools to determine the optimal device settings for a hypervisor/operating system combination.
We can use yum
or dnf
to install libosinfo
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libosinfo.
Install libosinfo 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 libosinfo
using dnf
by running the following command:
sudo dnf -y install libosinfo
Install libosinfo 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 libosinfo
using yum
by running the following command:
sudo yum -y install libosinfo
How To Uninstall libosinfo on Rocky Linux 8
To uninstall only the libosinfo
package we can use the following command:
sudo dnf remove libosinfo
libosinfo Package Contents on Rocky Linux 8
/usr/bin/osinfo-detect
/usr/bin/osinfo-install-script
/usr/bin/osinfo-query
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/4a20daa603bd7e77cc8df0b72c70c2d2087948
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/22564cba196be3665e6d7426d725aeedc18ab4
/usr/lib/.build-id/44
/usr/lib/.build-id/44/00235eb71509e70e0c1351153d45fd1f882d0e
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/331f0771532e54ffff4be21c926afb32671fc3
/usr/lib/girepository-1.0/Libosinfo-1.0.typelib
/usr/lib/libosinfo-1.0.so.0
/usr/lib/libosinfo-1.0.so.0.1009.0
/usr/share/doc/libosinfo
/usr/share/doc/libosinfo/AUTHORS
/usr/share/doc/libosinfo/COPYING.LIB
/usr/share/doc/libosinfo/ChangeLog
/usr/share/doc/libosinfo/NEWS
/usr/share/doc/libosinfo/README
/usr/share/locale/ca/LC_MESSAGES/libosinfo.mo
/usr/share/locale/cs/LC_MESSAGES/libosinfo.mo
/usr/share/locale/de/LC_MESSAGES/libosinfo.mo
/usr/share/locale/es/LC_MESSAGES/libosinfo.mo
/usr/share/locale/eu/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fi/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fur/LC_MESSAGES/libosinfo.mo
/usr/share/locale/id/LC_MESSAGES/libosinfo.mo
/usr/share/locale/it/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ja/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt_PT/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ru/LC_MESSAGES/libosinfo.mo
/usr/share/locale/tr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/uk/LC_MESSAGES/libosinfo.mo
/usr/share/man/man1/osinfo-detect.1.gz
/usr/share/man/man1/osinfo-install-script.1.gz
/usr/share/man/man1/osinfo-query.1.gz
/usr/bin/osinfo-detect
/usr/bin/osinfo-install-script
/usr/bin/osinfo-query
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/daf0bd46f7ca457a0612fdd7fbf104cf64d07f
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/f96a6059b92f278a785d8b3530ead8f04df952
/usr/lib/.build-id/71
/usr/lib/.build-id/71/e029c26a03060b90c1486f0892184eb3f89b53
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/79ab59316e0b3830a459c89851ea3bc0234b76
/usr/lib64/girepository-1.0/Libosinfo-1.0.typelib
/usr/lib64/libosinfo-1.0.so.0
/usr/lib64/libosinfo-1.0.so.0.1009.0
/usr/share/doc/libosinfo
/usr/share/doc/libosinfo/AUTHORS
/usr/share/doc/libosinfo/COPYING.LIB
/usr/share/doc/libosinfo/ChangeLog
/usr/share/doc/libosinfo/NEWS
/usr/share/doc/libosinfo/README
/usr/share/locale/ca/LC_MESSAGES/libosinfo.mo
/usr/share/locale/cs/LC_MESSAGES/libosinfo.mo
/usr/share/locale/de/LC_MESSAGES/libosinfo.mo
/usr/share/locale/es/LC_MESSAGES/libosinfo.mo
/usr/share/locale/eu/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fi/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fur/LC_MESSAGES/libosinfo.mo
/usr/share/locale/id/LC_MESSAGES/libosinfo.mo
/usr/share/locale/it/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ja/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt_PT/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ru/LC_MESSAGES/libosinfo.mo
/usr/share/locale/tr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/uk/LC_MESSAGES/libosinfo.mo
/usr/share/man/man1/osinfo-detect.1.gz
/usr/share/man/man1/osinfo-install-script.1.gz
/usr/share/man/man1/osinfo-query.1.gz
References
Summary
In this tutorial we learn how to install libosinfo
on Rocky Linux 8 using yum and dnf.