How To Install lua-lunitx on Fedora 36

In this tutorial we learn how to install lua-lunitx in Fedora 36. lua-lunitx is Unit testing framework for Lua

Introduction

In this tutorial we learn how to install lua-lunitx on Fedora 36.

What is lua-lunitx

This is lunitx Version 0.8.1, an extended version of Lunit for Lua 5.2, 5.3, and 5.4. Lunit is a unit testing framework for lua.

We can use yum or dnf to install lua-lunitx on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-lunitx.

Install lua-lunitx on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lua-lunitx using dnf by running the following command:

sudo dnf -y install lua-lunitx

Install lua-lunitx on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lua-lunitx using yum by running the following command:

sudo yum -y install lua-lunitx

How To Uninstall lua-lunitx on Fedora 36

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

sudo dnf remove lua-lunitx

lua-lunitx Package Contents on Fedora 36

/usr/bin/lunit
/usr/share/doc/lua-lunitx
/usr/share/doc/lua-lunitx/ANNOUNCE
/usr/share/doc/lua-lunitx/CHANGES
/usr/share/doc/lua-lunitx/DOCUMENTATION
/usr/share/doc/lua-lunitx/README
/usr/share/doc/lua-lunitx/README.lunitx
/usr/share/doc/lua-lunitx/examples
/usr/share/doc/lua-lunitx/examples/both.lua
/usr/share/doc/lua-lunitx/examples/down.lua
/usr/share/doc/lua-lunitx/examples/example.lua
/usr/share/doc/lua-lunitx/examples/up.lua
/usr/share/licenses/lua-lunitx
/usr/share/licenses/lua-lunitx/LICENSE
/usr/share/lua/5.4/lunit
/usr/share/lua/5.4/lunit.lua
/usr/share/lua/5.4/lunit/console.lua
/usr/share/lua/5.4/lunitx
/usr/share/lua/5.4/lunitx.lua
/usr/share/lua/5.4/lunitx/atexit.lua

References

Summary

In this tutorial we learn how to install lua-lunitx on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).