How To Install lua-libs on Rocky Linux 8

In this tutorial we learn how to install lua-libs on Rocky Linux 8. lua-libs is Libraries for lua

Introduction

In this tutorial we learn how to install lua-libs on Rocky Linux 8.

What is lua-libs

This package contains the shared libraries for lua.

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

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

sudo dnf -y install lua-libs

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

sudo yum -y install lua-libs

How To Uninstall lua-libs on Rocky Linux 8

To uninstall only the lua-libs package we can use the following command:

sudo dnf remove lua-libs

lua-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/6b640dc64456c545d954e6fdd00e67edbc4e6f
/usr/lib64/liblua-5.3.so
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/83b7c4618395698385750541b40d05841aa4af
/usr/lib/liblua-5.3.so

References

Summary

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