How To Install libguestfs-devel on Rocky Linux 8

In this tutorial we learn how to install libguestfs-devel on Rocky Linux 8. libguestfs-devel is Development tools and libraries for libguestfs

Introduction

In this tutorial we learn how to install libguestfs-devel on Rocky Linux 8.

What is libguestfs-devel

libguestfs-devel contains development tools and libraries for libguestfs.

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

Install libguestfs-devel 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 libguestfs-devel using dnf by running the following command:

sudo dnf -y install libguestfs-devel

Install libguestfs-devel 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 libguestfs-devel using yum by running the following command:

sudo yum -y install libguestfs-devel

How To Uninstall libguestfs-devel on Rocky Linux 8

To uninstall only the libguestfs-devel package we can use the following command:

sudo dnf remove libguestfs-devel

libguestfs-devel Package Contents on Rocky Linux 8

/usr/include/guestfs.h
/usr/lib64/libguestfs.so
/usr/lib64/pkgconfig/libguestfs.pc
/usr/sbin/libguestfs-make-fixed-appliance
/usr/share/doc/libguestfs-devel
/usr/share/doc/libguestfs-devel/AUTHORS
/usr/share/doc/libguestfs-devel/BUGS
/usr/share/doc/libguestfs-devel/ChangeLog.gz
/usr/share/doc/libguestfs-devel/HACKING
/usr/share/doc/libguestfs-devel/README
/usr/share/doc/libguestfs-devel/TODO
/usr/share/doc/libguestfs-devel/copy-over.c
/usr/share/doc/libguestfs-devel/create-disk.c
/usr/share/doc/libguestfs-devel/debug-logging.c
/usr/share/doc/libguestfs-devel/display-icon.c
/usr/share/doc/libguestfs-devel/example-debian.xml.gz
/usr/share/doc/libguestfs-devel/example-fedora.xml.gz
/usr/share/doc/libguestfs-devel/example-rhel-6.xml.gz
/usr/share/doc/libguestfs-devel/example-ubuntu.xml.gz
/usr/share/doc/libguestfs-devel/example-windows.xml.gz
/usr/share/doc/libguestfs-devel/inspect-vm.c
/usr/share/doc/libguestfs-devel/libvirt-auth.c
/usr/share/doc/libguestfs-devel/mount-local.c
/usr/share/doc/libguestfs-devel/virt-dhcp-address.c
/usr/share/doc/libguestfs-devel/virt-inspector.rng
/usr/share/man/man1/guestfs-building.1.gz
/usr/share/man/man1/guestfs-hacking.1.gz
/usr/share/man/man1/guestfs-internals.1.gz
/usr/share/man/man1/guestfs-testing.1.gz
/usr/share/man/man1/libguestfs-make-fixed-appliance.1.gz
/usr/share/man/man3/guestfs-examples.3.gz
/usr/share/man/man3/guestfs.3.gz
/usr/share/man/man3/libguestfs.3.gz

References

Summary

In this tutorial we learn how to install libguestfs-devel on Rocky Linux 8 using yum and dnf.