How To Install libguestfs-java-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libguestfs-java-devel.x86_64 in Amazon Linux 2. libguestfs-java-devel.x86_64 is Java development package for libguestfs

Introduction

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

What is libguestfs-java-devel.x86_64

libguestfs-java-devel contains the tools for developing Java software using libguestfs. See also libguestfs-javadoc.

We can use yum to install libguestfs-java-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 libguestfs-java-devel.x86_64.

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

sudo yum -y install libguestfs-java-devel.x86_64

How To Uninstall libguestfs-java-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libguestfs-java-devel.x86_64

libguestfs-java-devel.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libguestfs_jni.so
/usr/share/doc/libguestfs-java-devel-1.36.10
/usr/share/doc/libguestfs-java-devel-1.36.10/CreateDisk.java
/usr/share/doc/libguestfs-java-devel-1.36.10/InspectVM.java
/usr/share/man/man3/guestfs-java.3.gz

References

Summary

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