How To Install libosinfo on Fedora 34
Introduction
In this tutorial we learn how to install libosinfo
on Fedora 34.
What is libosinfo
libosinfo is a library that allows virtualization provisioning tools to determine the optimal device settings for a hypervisor/operating system combination. libosinfo 1.9.0 1.fc34 x86_64 297 k libosinfo-1.9.0-1.fc34.src.rpm fedora A library for managing OS information for virtualization https LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libosinfo.
Install libosinfo on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libosinfo
using dnf
by running the following command:
sudo dnf -y install libosinfo
Install libosinfo on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the libosinfo
package we can use the following command:
sudo dnf remove libosinfo
libosinfo Package Contents on Fedora 34
/usr/bin/osinfo-detect
/usr/bin/osinfo-install-script
/usr/bin/osinfo-query
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/28c3fcdf74604df1c87809e596b047b8c2e73b
/usr/lib/.build-id/14
/usr/lib/.build-id/14/05352baeda63fdd21979ea6f0232a27d1151d2
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/0aa40177e2a9b6b9e404e97c429321890e110e
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/3714767cc9612b85c75fd241d57fe43f8425fe
/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/70
/usr/lib/.build-id/70/b5d2c62e7f7bec00f743bc56f763ff50b3deaf
/usr/lib/.build-id/90
/usr/lib/.build-id/90/05e0b93d68a82eb5a2263eca5bd4336730c0b4
/usr/lib/.build-id/90/15f023e48806101974f0dc47a97248c745917e
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e963e10c7be547683e715a57c4ead52dd1175f
/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
- [libosinfo website](https://libosinfo.org/ https://libosinfo.org/)
Summary
In this tutorial we learn how to install libosinfo
on Fedora 34 using yum and dnf.