How To Install lutok on Fedora 34

lutok is Lightweight C++ API library for Lua Lightweight C++ API library for Lua

Introduction

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

What is lutok

Lutok provides thin C++ wrappers around the Lua C API to ease the interaction between C++ and Lua. These wrappers make intensive use of RAII to prevent resource leakage, expose C++-friendly data types, report errors by means of exceptions and ensure that the Lua stack is always left untouched in the face of errors. The library also provides a small subset of miscellaneous utility functions built on top of the wrappers. Lutok focuses on providing a clean and safe C++ interface; the drawback is that it is not suitable for performance-critical environments. In order to implement error-safe C++ wrappers on top of a Lua C binary library, Lutok adds several layers or abstraction and error checking that go against the original spirit of the Lua C API and thus degrade performance. lutok 0.4 17.fc34 x86_64 29 k lutok-0.4-17.fc34.src.rpm fedora Lightweight C++ API library for Lua http BSD Lutok provides thin C++ wrappers around the Lua C API to ease the interaction between C++ and Lua. These wrappers make intensive use of RAII to prevent resource leakage, expose C++-friendly data types, report errors by means of exceptions and ensure that the Lua stack is always left untouched in the face of errors. The library also provides a small subset of miscellaneous utility functions built on top of the wrappers. Lutok focuses on providing a clean and safe C++ interface; the drawback is that it is not suitable for performance-critical environments. In order to implement error-safe C++ wrappers on top of a Lua C binary library, Lutok adds several layers or abstraction and error checking that go against the original spirit of the Lua C API and thus degrade performance.

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

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

sudo dnf -y install lutok

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

sudo yum -y install lutok

How To Uninstall lutok on Fedora 34

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

sudo dnf remove lutok

lutok Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/1a072e1c7991aaa97f5669a3277c708fe43250
/usr/lib64/liblutok.so.3
/usr/lib64/liblutok.so.3.0.0
/usr/share/doc/lutok
/usr/share/doc/lutok/AUTHORS
/usr/share/doc/lutok/COPYING
/usr/share/doc/lutok/NEWS
/usr/share/doc/lutok/README
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/a59f4c29d39ee59e212ae1fbcf2ec92afb9ed9
/usr/lib/liblutok.so.3
/usr/lib/liblutok.so.3.0.0
/usr/share/doc/lutok
/usr/share/doc/lutok/AUTHORS
/usr/share/doc/lutok/COPYING
/usr/share/doc/lutok/NEWS
/usr/share/doc/lutok/README

References

Summary

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