How To Install luabind on Fedora 34

luabind is A library that helps create bindings between C++ and Lua A library that helps create bindings between C++ and Lua

Introduction

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

What is luabind

Luabind is a library that helps you create bindings between C++ and Lua. It has the ability to expose functions and classes, written in C++, to Lua. It will also supply the functionality to define classes in Lua and let them derive from other Lua classes or C++ classes. Lua classes can override virtual functions from their C++ base classes. It is written towards Lua 5.0, and does not work with Lua 4. luabind 0.9.1 38.fc34 x86_64 50 k luabind-0.9.1-38.fc34.src.rpm fedora A library that helps create bindings between C++ and Lua http MIT Luabind is a library that helps you create bindings between C++ and Lua. It has the ability to expose functions and classes, written in C++, to Lua. It will also supply the functionality to define classes in Lua and let them derive from other Lua classes or C++ classes. Lua classes can override virtual functions from their C++ base classes. It is written towards Lua 5.0, and does not work with Lua 4.

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

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

sudo dnf -y install luabind

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

sudo yum -y install luabind

How To Uninstall luabind on Fedora 34

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

sudo dnf remove luabind

luabind Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/46828285f9a087ec8fcacb88ac78e5476b687e
/usr/lib/libluabind.so.0.9.0
/usr/share/doc/luabind
/usr/share/doc/luabind/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/5fe1a60d8ce98c753c625280039fbd3334aa43
/usr/lib64/libluabind.so.0.9.0
/usr/share/doc/luabind
/usr/share/doc/luabind/LICENSE

References

Summary

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