How To Install lua-term on Rocky Linux 8

In this tutorial we learn how to install lua-term on Rocky Linux 8. lua-term is Terminal functions for Lua

Introduction

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

What is lua-term

Lua module for manipulating a terminal.

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

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

sudo dnf -y install lua-term

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

sudo yum -y install lua-term

How To Uninstall lua-term on Rocky Linux 8

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

sudo dnf remove lua-term

lua-term Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/c11a4e92fa937a99f3fed653f0db9f19e48773
/usr/lib64/lua/5.3/term
/usr/lib64/lua/5.3/term/core.so
/usr/share/doc/lua-term
/usr/share/doc/lua-term/CHANGES
/usr/share/doc/lua-term/README.md
/usr/share/licenses/lua-term
/usr/share/licenses/lua-term/COPYING
/usr/share/lua/5.3/term
/usr/share/lua/5.3/term/colors.lua
/usr/share/lua/5.3/term/cursor.lua
/usr/share/lua/5.3/term/init.lua

References

Summary

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