How To Install lua-lgi-compat on Fedora 36

In this tutorial we learn how to install lua-lgi-compat in Fedora 36. lua-lgi-compat is Lua bindings to GObject libraries for Lua 5.1

Introduction

In this tutorial we learn how to install lua-lgi-compat on Fedora 36.

What is lua-lgi-compat

LGI is gobject-introspection based dynamic Lua binding to GObject based libraries. It allows using GObject-based libraries directly from Lua.

We can use yum or dnf to install lua-lgi-compat on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-lgi-compat.

Install lua-lgi-compat on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lua-lgi-compat using dnf by running the following command:

sudo dnf -y install lua-lgi-compat

Install lua-lgi-compat on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lua-lgi-compat using yum by running the following command:

sudo yum -y install lua-lgi-compat

How To Uninstall lua-lgi-compat on Fedora 36

To uninstall only the lua-lgi-compat package we can use the following command:

sudo dnf remove lua-lgi-compat

lua-lgi-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/d4afe27e88b9e5b897717bb4b6e0d8876c176d
/usr/lib64/lua/5.1/lgi
/usr/lib64/lua/5.1/lgi/corelgilua51.so
/usr/share/licenses/lua-lgi-compat
/usr/share/licenses/lua-lgi-compat/LICENSE
/usr/share/lua/5.1/lgi
/usr/share/lua/5.1/lgi.lua
/usr/share/lua/5.1/lgi/class.lua
/usr/share/lua/5.1/lgi/component.lua
/usr/share/lua/5.1/lgi/core.lua
/usr/share/lua/5.1/lgi/enum.lua
/usr/share/lua/5.1/lgi/ffi.lua
/usr/share/lua/5.1/lgi/init.lua
/usr/share/lua/5.1/lgi/log.lua
/usr/share/lua/5.1/lgi/namespace.lua
/usr/share/lua/5.1/lgi/override
/usr/share/lua/5.1/lgi/override/Clutter.lua
/usr/share/lua/5.1/lgi/override/GLib-Bytes.lua
/usr/share/lua/5.1/lgi/override/GLib-Error.lua
/usr/share/lua/5.1/lgi/override/GLib-Markup.lua
/usr/share/lua/5.1/lgi/override/GLib-Source.lua
/usr/share/lua/5.1/lgi/override/GLib-Timer.lua
/usr/share/lua/5.1/lgi/override/GLib-Variant.lua
/usr/share/lua/5.1/lgi/override/GLib.lua
/usr/share/lua/5.1/lgi/override/GObject-Closure.lua
/usr/share/lua/5.1/lgi/override/GObject-Object.lua
/usr/share/lua/5.1/lgi/override/GObject-Type.lua
/usr/share/lua/5.1/lgi/override/GObject-Value.lua
/usr/share/lua/5.1/lgi/override/Gdk.lua
/usr/share/lua/5.1/lgi/override/Gio-DBus.lua
/usr/share/lua/5.1/lgi/override/Gio.lua
/usr/share/lua/5.1/lgi/override/GooCanvas.lua
/usr/share/lua/5.1/lgi/override/Gst.lua
/usr/share/lua/5.1/lgi/override/Gtk.lua
/usr/share/lua/5.1/lgi/override/Pango.lua
/usr/share/lua/5.1/lgi/override/PangoCairo.lua
/usr/share/lua/5.1/lgi/override/cairo.lua
/usr/share/lua/5.1/lgi/package.lua
/usr/share/lua/5.1/lgi/record.lua
/usr/share/lua/5.1/lgi/version.lua

References

Summary

In this tutorial we learn how to install lua-lgi-compat on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).