How To Install ilua on Fedora 34

ilua is Portable Lua kernel for Jupyter

Introduction

In this tutorial we learn how to install ilua on Fedora 34.

What is ilua

ILua is a feature-packed, portable console and Jupyter kernel for the Lua language. It is Lua-implementation agnostic, should work with any Lua interpreter out of the box.

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

Install ilua on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ilua

Install ilua on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ilua using yum by running the following command:

sudo yum -y install ilua

How To Uninstall ilua on Fedora 34

To uninstall only the ilua package we can use the following command:

sudo dnf remove ilua

ilua Package Contents on Fedora 34

/usr/bin/ilua
/usr/lib/python3.9/site-packages/ilua
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/INSTALLER
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/LICENSE
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/METADATA
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/WHEEL
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/entry_points.txt
/usr/lib/python3.9/site-packages/ilua-0.2.1.dist-info/top_level.txt
/usr/lib/python3.9/site-packages/ilua/__init__.py
/usr/lib/python3.9/site-packages/ilua/__pycache__
/usr/lib/python3.9/site-packages/ilua/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/_unixfifo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/_unixfifo.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/_win32namedpipe.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/_win32namedpipe.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/app.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/app.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/appbase.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/appbase.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/connection.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/connection.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/consoleapp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/consoleapp.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/history.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/history.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/inspector.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/inspector.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/kernel.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/kernel.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/kernelbase.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/kernelbase.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/message.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/message.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/namedpipe.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/namedpipe.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/proto.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/proto.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/sockets.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/sockets.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ilua/__pycache__/version.cpython-39.pyc
/usr/lib/python3.9/site-packages/ilua/_unixfifo.py
/usr/lib/python3.9/site-packages/ilua/_win32namedpipe.py
/usr/lib/python3.9/site-packages/ilua/app.py
/usr/lib/python3.9/site-packages/ilua/appbase.py
/usr/lib/python3.9/site-packages/ilua/builtins.lua
/usr/lib/python3.9/site-packages/ilua/connection.py
/usr/lib/python3.9/site-packages/ilua/consoleapp.py
/usr/lib/python3.9/site-packages/ilua/ext
/usr/lib/python3.9/site-packages/ilua/ext/inspect.lua
/usr/lib/python3.9/site-packages/ilua/ext/json.lua
/usr/lib/python3.9/site-packages/ilua/ext/netstring.lua
/usr/lib/python3.9/site-packages/ilua/history.py
/usr/lib/python3.9/site-packages/ilua/inspector.py
/usr/lib/python3.9/site-packages/ilua/interp.lua
/usr/lib/python3.9/site-packages/ilua/kernel.py
/usr/lib/python3.9/site-packages/ilua/kernelbase.py
/usr/lib/python3.9/site-packages/ilua/message.py
/usr/lib/python3.9/site-packages/ilua/namedpipe.py
/usr/lib/python3.9/site-packages/ilua/proto.py
/usr/lib/python3.9/site-packages/ilua/sockets.py
/usr/lib/python3.9/site-packages/ilua/version.py
/usr/share/doc/ilua
/usr/share/doc/ilua/CHANGES.md
/usr/share/doc/ilua/README.md
/usr/share/jupyter/kernels/lua
/usr/share/jupyter/kernels/lua/kernel.json
/usr/share/jupyter/kernels/lua/logo-32x32.png
/usr/share/jupyter/kernels/lua/logo-64x64.png
/usr/share/jupyter/kernels/lua/logo-license.txt
/usr/share/licenses/ilua
/usr/share/licenses/ilua/LICENSE

References

Summary

In this tutorial we learn how to install ilua on Fedora 34 using yum and dnf.