How To Install luajit-fun on CentOS 7
Introduction
In this tutorial we learn how to install luajit-fun
on CentOS 7.
What is luajit-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 LuaJIT.
We can use yum
or dnf
to install luajit-fun
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install luajit-fun.
Install luajit-fun on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install luajit-fun
using yum
by running the following command:
Install luajit-fun 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.
After updating yum database, We can install luajit-fun
using dnf
by running the following command:
How To Uninstall luajit-fun on CentOS 7
To uninstall only the luajit-fun
package we can use the following command:
References
Summary
In this tutorial we learn how to install luajit-fun
on CentOS 7 using yum
and dnf
.