How To Install lua-fun on Fedora 36
Introduction
In this tutorial we learn how to install lua-fun
on Fedora 36.
What is lua-fun
Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT’s trace compiler in mind. Lua Fun provides a set of more than 50 programming primitives typically found in languages like Standard ML, Haskell, Erlang, JavaScript, Python and even Lisp. High-order functions such as map, filter, reduce, zip, etc., make it easy to write simple and efficient functional code. This package provides a module for Lua 5.4.
We can use yum
or dnf
to install lua-fun
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-fun.
Install lua-fun 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-fun
using dnf
by running the following command:
sudo dnf -y install lua-fun
Install lua-fun 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-fun
using yum
by running the following command:
sudo yum -y install lua-fun
How To Uninstall lua-fun on Fedora 36
To uninstall only the lua-fun
package we can use the following command:
sudo dnf remove lua-fun
lua-fun Package Contents on Fedora 36
/usr/share/doc/lua-fun
/usr/share/doc/lua-fun/CONTRIBUTING.md
/usr/share/doc/lua-fun/README.md
/usr/share/licenses/lua-fun
/usr/share/licenses/lua-fun/COPYING.md
/usr/share/lua/5.4/fun.lua
References
Summary
In this tutorial we learn how to install lua-fun
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).