How To Install libosinfo.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libosinfo.x86_64 in Amazon Linux 2. libosinfo.x86_64 is A library for managing OS information for virtualization

Introduction

In this tutorial we learn how to install libosinfo.x86_64 on Amazon Linux 2.

What is libosinfo.x86_64

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 to install libosinfo.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libosinfo.x86_64.

Install libosinfo.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libosinfo.x86_64 using yum by running the following command:

sudo yum -y install libosinfo.x86_64

How To Uninstall libosinfo.x86_64 on Amazon Linux 2

To uninstall only the libosinfo.x86_64 package we can use the following command:

sudo yum remove libosinfo.x86_64

libosinfo.x86_64 Package Contents on Amazon Linux 2

/usr/bin/osinfo-detect
/usr/bin/osinfo-install-script
/usr/bin/osinfo-query
/usr/lib64/girepository-1.0/Libosinfo-1.0.typelib
/usr/lib64/libosinfo-1.0.so.0
/usr/lib64/libosinfo-1.0.so.0.1001.0
/usr/share/doc/libosinfo-1.1.0
/usr/share/doc/libosinfo-1.1.0/AUTHORS
/usr/share/doc/libosinfo-1.1.0/COPYING.LIB
/usr/share/doc/libosinfo-1.1.0/ChangeLog
/usr/share/doc/libosinfo-1.1.0/NEWS
/usr/share/doc/libosinfo-1.1.0/README
/usr/share/locale/af/LC_MESSAGES/libosinfo.mo
/usr/share/locale/am/LC_MESSAGES/libosinfo.mo
/usr/share/locale/anp/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ar/LC_MESSAGES/libosinfo.mo
/usr/share/locale/as/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ast/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bal/LC_MESSAGES/libosinfo.mo
/usr/share/locale/be/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bg/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bn/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bo/LC_MESSAGES/libosinfo.mo
/usr/share/locale/br/LC_MESSAGES/libosinfo.mo
/usr/share/locale/brx/LC_MESSAGES/libosinfo.mo
/usr/share/locale/bs/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ca/LC_MESSAGES/libosinfo.mo
/usr/share/locale/cs/LC_MESSAGES/libosinfo.mo
/usr/share/locale/cy/LC_MESSAGES/libosinfo.mo
/usr/share/locale/da/LC_MESSAGES/libosinfo.mo
/usr/share/locale/de/LC_MESSAGES/libosinfo.mo
/usr/share/locale/de_CH/LC_MESSAGES/libosinfo.mo
/usr/share/locale/el/LC_MESSAGES/libosinfo.mo
/usr/share/locale/en_GB/LC_MESSAGES/libosinfo.mo
/usr/share/locale/eo/LC_MESSAGES/libosinfo.mo
/usr/share/locale/es/LC_MESSAGES/libosinfo.mo
/usr/share/locale/et/LC_MESSAGES/libosinfo.mo
/usr/share/locale/eu/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fa/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fi/LC_MESSAGES/libosinfo.mo
/usr/share/locale/fr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/gl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/gu/LC_MESSAGES/libosinfo.mo
/usr/share/locale/he/LC_MESSAGES/libosinfo.mo
/usr/share/locale/hi/LC_MESSAGES/libosinfo.mo
/usr/share/locale/hr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/hu/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ia/LC_MESSAGES/libosinfo.mo
/usr/share/locale/id/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ilo/LC_MESSAGES/libosinfo.mo
/usr/share/locale/is/LC_MESSAGES/libosinfo.mo
/usr/share/locale/it/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ja/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ka/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kk/LC_MESSAGES/libosinfo.mo
/usr/share/locale/km/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kn/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ko/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kw/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kw@kkcor/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kw@uccor/LC_MESSAGES/libosinfo.mo
/usr/share/locale/kw_GB/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ky/LC_MESSAGES/libosinfo.mo
/usr/share/locale/lt/LC_MESSAGES/libosinfo.mo
/usr/share/locale/lv/LC_MESSAGES/libosinfo.mo
/usr/share/locale/mai/LC_MESSAGES/libosinfo.mo
/usr/share/locale/mk/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ml/LC_MESSAGES/libosinfo.mo
/usr/share/locale/mn/LC_MESSAGES/libosinfo.mo
/usr/share/locale/mr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ms/LC_MESSAGES/libosinfo.mo
/usr/share/locale/nb/LC_MESSAGES/libosinfo.mo
/usr/share/locale/nds/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ne/LC_MESSAGES/libosinfo.mo
/usr/share/locale/nl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/nn/LC_MESSAGES/libosinfo.mo
/usr/share/locale/nso/LC_MESSAGES/libosinfo.mo
/usr/share/locale/or/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pa/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt/LC_MESSAGES/libosinfo.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ro/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ru/LC_MESSAGES/libosinfo.mo
/usr/share/locale/si/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sk/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sl/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sq/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libosinfo.mo
/usr/share/locale/sv/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ta/LC_MESSAGES/libosinfo.mo
/usr/share/locale/te/LC_MESSAGES/libosinfo.mo
/usr/share/locale/tg/LC_MESSAGES/libosinfo.mo
/usr/share/locale/th/LC_MESSAGES/libosinfo.mo
/usr/share/locale/tr/LC_MESSAGES/libosinfo.mo
/usr/share/locale/tw/LC_MESSAGES/libosinfo.mo
/usr/share/locale/uk/LC_MESSAGES/libosinfo.mo
/usr/share/locale/ur/LC_MESSAGES/libosinfo.mo
/usr/share/locale/vi/LC_MESSAGES/libosinfo.mo
/usr/share/locale/wba/LC_MESSAGES/libosinfo.mo
/usr/share/locale/yo/LC_MESSAGES/libosinfo.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libosinfo.mo
/usr/share/locale/zh_HK/LC_MESSAGES/libosinfo.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libosinfo.mo
/usr/share/locale/zu/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.x86_64 on Amazon Linux 2 using yum.