How To Install lua-compat53 on CentOS 7
Introduction
In this tutorial we learn how to install lua-compat53 on CentOS 7.
What is lua-compat53
This is a small module that aims to make it easier to write code in a Lua-5.3-style that is compatible with Lua 5.1, Lua 5.2, and Lua 5.3. This does not make Lua 5.2 (or even Lua 5.1) entirely compatible with Lua 5.3, but it brings the API closer to that of Lua 5.3.
We can use yum or dnf to install lua-compat53 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install lua-compat53.
Install lua-compat53 on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install lua-compat53 using yum by running the following command:
sudo yum -y install lua-compat53
Install lua-compat53 on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install lua-compat53 using dnf by running the following command:
sudo dnf -y install lua-compat53
How To Uninstall lua-compat53 on CentOS 7
To uninstall only the lua-compat53 package we can use the following command:
sudo dnf remove lua-compat53
References
Summary
In this tutorial we learn how to install lua-compat53 on CentOS 7 using yum and dnf.