How To Install tolua++ on Fedora 34

tolua++ is A tool to integrate C/C++ code with Lua A tool to integrate C/C++ code with Lua

Introduction

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

What is tolua++

tolua++ is an extended version of tolua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to C++. tolua++ 1.0.93 31.fc34 x86_64 53 k tolua++-1.0.93-31.fc34.src.rpm fedora A tool to integrate C/C++ code with Lua MIT tolua++ is an extended version of tolua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to C++.

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

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

sudo dnf -y install tolua++

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

sudo yum -y install tolua++

How To Uninstall tolua++ on Fedora 34

To uninstall only the tolua++ package we can use the following command:

sudo dnf remove tolua++

tolua++ Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/995f869b4fdefe0e1c01fdc794cc37a063b656
/usr/lib64/libtolua++-5.3.so
/usr/share/doc/tolua++
/usr/share/doc/tolua++/README
/usr/share/licenses/tolua++
/usr/share/licenses/tolua++/COPYRIGHT
/usr/share/tolua++
/usr/share/tolua++/all.lua
/usr/share/tolua++/array.lua
/usr/share/tolua++/basic.lua
/usr/share/tolua++/class.lua
/usr/share/tolua++/clean.lua
/usr/share/tolua++/code.lua
/usr/share/tolua++/compat-5.1.lua
/usr/share/tolua++/compat.lua
/usr/share/tolua++/container.lua
/usr/share/tolua++/custom.lua
/usr/share/tolua++/declaration.lua
/usr/share/tolua++/define.lua
/usr/share/tolua++/doit.lua
/usr/share/tolua++/enumerate.lua
/usr/share/tolua++/feature.lua
/usr/share/tolua++/function.lua
/usr/share/tolua++/module.lua
/usr/share/tolua++/namespace.lua
/usr/share/tolua++/operator.lua
/usr/share/tolua++/package.lua
/usr/share/tolua++/template_class.lua
/usr/share/tolua++/typedef.lua
/usr/share/tolua++/variable.lua
/usr/share/tolua++/verbatim.lua
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/23c7c9d8f62f8a18d006e70f52e37a12e5feeb
/usr/lib/libtolua++-5.3.so
/usr/share/doc/tolua++
/usr/share/doc/tolua++/README
/usr/share/licenses/tolua++
/usr/share/licenses/tolua++/COPYRIGHT
/usr/share/tolua++
/usr/share/tolua++/all.lua
/usr/share/tolua++/array.lua
/usr/share/tolua++/basic.lua
/usr/share/tolua++/class.lua
/usr/share/tolua++/clean.lua
/usr/share/tolua++/code.lua
/usr/share/tolua++/compat-5.1.lua
/usr/share/tolua++/compat.lua
/usr/share/tolua++/container.lua
/usr/share/tolua++/custom.lua
/usr/share/tolua++/declaration.lua
/usr/share/tolua++/define.lua
/usr/share/tolua++/doit.lua
/usr/share/tolua++/enumerate.lua
/usr/share/tolua++/feature.lua
/usr/share/tolua++/function.lua
/usr/share/tolua++/module.lua
/usr/share/tolua++/namespace.lua
/usr/share/tolua++/operator.lua
/usr/share/tolua++/package.lua
/usr/share/tolua++/template_class.lua
/usr/share/tolua++/typedef.lua
/usr/share/tolua++/variable.lua
/usr/share/tolua++/verbatim.lua

References

Summary

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