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

In this tutorial we learn how to install lua-devel.x86_64 in Amazon Linux 2. lua-devel.x86_64 is Development files for lua

Introduction

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

What is lua-devel.x86_64

This package contains development files for lua.

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

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

sudo yum -y install lua-devel.x86_64

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

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

sudo yum remove lua-devel.x86_64

lua-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/lauxlib.h
/usr/include/lua.h
/usr/include/lua.hpp
/usr/include/luaconf.h
/usr/include/lualib.h
/usr/lib64/liblua.so
/usr/lib64/pkgconfig/lua.pc

References

Summary

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