How To Install lua-guestfs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lua-guestfs.x86_64 in Amazon Linux 2. lua-guestfs.x86_64 is Lua bindings for libguestfs

Introduction

In this tutorial we learn how to install lua-guestfs.x86_64 on Amazon Linux 2.

What is lua-guestfs.x86_64

lua-guestfs contains Lua bindings for libguestfs.

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

Install lua-guestfs.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 lua-guestfs.x86_64 using yum by running the following command:

sudo yum -y install lua-guestfs.x86_64

How To Uninstall lua-guestfs.x86_64 on Amazon Linux 2

To uninstall only the lua-guestfs.x86_64 package we can use the following command:

sudo yum remove lua-guestfs.x86_64

lua-guestfs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/lua/5.1/guestfs.so
/usr/share/doc/lua-guestfs-1.36.10
/usr/share/doc/lua-guestfs-1.36.10/LICENSE
/usr/share/doc/lua-guestfs-1.36.10/create_disk.lua
/usr/share/doc/lua-guestfs-1.36.10/inspect_vm.lua
/usr/share/man/man3/guestfs-lua.3.gz

References

Summary

In this tutorial we learn how to install lua-guestfs.x86_64 on Amazon Linux 2 using yum.