How To Install libvirt-glib-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libvirt-glib-devel.x86_64 in Amazon Linux 2. libvirt-glib-devel.x86_64 is libvirt glib integration for events development files

Introduction

In this tutorial we learn how to install libvirt-glib-devel.x86_64 on Amazon Linux 2.

What is libvirt-glib-devel.x86_64

This package provides development header files and libraries for integration between libvirt and the glib event loop.

We can use yum to install libvirt-glib-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-glib-devel.x86_64.

Install libvirt-glib-devel.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 libvirt-glib-devel.x86_64 using yum by running the following command:

sudo yum -y install libvirt-glib-devel.x86_64

How To Uninstall libvirt-glib-devel.x86_64 on Amazon Linux 2

To uninstall only the libvirt-glib-devel.x86_64 package we can use the following command:

sudo yum remove libvirt-glib-devel.x86_64

libvirt-glib-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libvirt-glib-1.0
/usr/include/libvirt-glib-1.0/libvirt-glib
/usr/include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-error.h
/usr/include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-event.h
/usr/include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-main.h
/usr/include/libvirt-glib-1.0/libvirt-glib/libvirt-glib.h
/usr/lib64/libvirt-glib-1.0.so
/usr/lib64/pkgconfig/libvirt-glib-1.0.pc
/usr/share/doc/libvirt-glib-devel-1.0.0
/usr/share/doc/libvirt-glib-devel-1.0.0/event-test.c
/usr/share/gir-1.0/LibvirtGLib-1.0.gir
/usr/share/gtk-doc/html/Libvirt-glib
/usr/share/gtk-doc/html/Libvirt-glib/Libvirt-glib-Error-reporting.html
/usr/share/gtk-doc/html/Libvirt-glib/Libvirt-glib-Event-loop.html
/usr/share/gtk-doc/html/Libvirt-glib/Libvirt-glib-Library-initialization.html
/usr/share/gtk-doc/html/Libvirt-glib/Libvirt-glib.devhelp2
/usr/share/gtk-doc/html/Libvirt-glib/annotation-glossary.html
/usr/share/gtk-doc/html/Libvirt-glib/api-index-full.html
/usr/share/gtk-doc/html/Libvirt-glib/ch01.html
/usr/share/gtk-doc/html/Libvirt-glib/home.png
/usr/share/gtk-doc/html/Libvirt-glib/index.html
/usr/share/gtk-doc/html/Libvirt-glib/left-insensitive.png
/usr/share/gtk-doc/html/Libvirt-glib/left.png
/usr/share/gtk-doc/html/Libvirt-glib/object-tree.html
/usr/share/gtk-doc/html/Libvirt-glib/right-insensitive.png
/usr/share/gtk-doc/html/Libvirt-glib/right.png
/usr/share/gtk-doc/html/Libvirt-glib/style.css
/usr/share/gtk-doc/html/Libvirt-glib/up-insensitive.png
/usr/share/gtk-doc/html/Libvirt-glib/up.png
/usr/share/vala/vapi/libvirt-glib-1.0.vapi

References

Summary

In this tutorial we learn how to install libvirt-glib-devel.x86_64 on Amazon Linux 2 using yum.