How To Install lua-lgi on Fedora 36
Introduction
In this tutorial we learn how to install lua-lgi
on Fedora 36.
What is lua-lgi
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
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-lgi.
Install lua-lgi 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
using dnf
by running the following command:
sudo dnf -y install lua-lgi
Install lua-lgi 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
using yum
by running the following command:
sudo yum -y install lua-lgi
How To Uninstall lua-lgi on Fedora 36
To uninstall only the lua-lgi
package we can use the following command:
sudo dnf remove lua-lgi
lua-lgi Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/fbad2442d90a2ba0f10a7b64d50189d3d43a60
/usr/lib64/lua/5.4/lgi
/usr/lib64/lua/5.4/lgi/corelgilua51.so
/usr/share/doc/lua-lgi
/usr/share/doc/lua-lgi/README.html
/usr/share/doc/lua-lgi/cairo.html
/usr/share/doc/lua-lgi/gio.html
/usr/share/doc/lua-lgi/gtk.html
/usr/share/doc/lua-lgi/guide.html
/usr/share/doc/lua-lgi/overview.html
/usr/share/doc/lua-lgi/reference.html
/usr/share/doc/lua-lgi/variant.html
/usr/share/licenses/lua-lgi
/usr/share/licenses/lua-lgi/LICENSE
/usr/share/lua/5.4/lgi
/usr/share/lua/5.4/lgi.lua
/usr/share/lua/5.4/lgi/class.lua
/usr/share/lua/5.4/lgi/component.lua
/usr/share/lua/5.4/lgi/core.lua
/usr/share/lua/5.4/lgi/enum.lua
/usr/share/lua/5.4/lgi/ffi.lua
/usr/share/lua/5.4/lgi/init.lua
/usr/share/lua/5.4/lgi/log.lua
/usr/share/lua/5.4/lgi/namespace.lua
/usr/share/lua/5.4/lgi/override
/usr/share/lua/5.4/lgi/override/Clutter.lua
/usr/share/lua/5.4/lgi/override/GLib-Bytes.lua
/usr/share/lua/5.4/lgi/override/GLib-Error.lua
/usr/share/lua/5.4/lgi/override/GLib-Markup.lua
/usr/share/lua/5.4/lgi/override/GLib-Source.lua
/usr/share/lua/5.4/lgi/override/GLib-Timer.lua
/usr/share/lua/5.4/lgi/override/GLib-Variant.lua
/usr/share/lua/5.4/lgi/override/GLib.lua
/usr/share/lua/5.4/lgi/override/GObject-Closure.lua
/usr/share/lua/5.4/lgi/override/GObject-Object.lua
/usr/share/lua/5.4/lgi/override/GObject-Type.lua
/usr/share/lua/5.4/lgi/override/GObject-Value.lua
/usr/share/lua/5.4/lgi/override/Gdk.lua
/usr/share/lua/5.4/lgi/override/Gio-DBus.lua
/usr/share/lua/5.4/lgi/override/Gio.lua
/usr/share/lua/5.4/lgi/override/GooCanvas.lua
/usr/share/lua/5.4/lgi/override/Gst.lua
/usr/share/lua/5.4/lgi/override/Gtk.lua
/usr/share/lua/5.4/lgi/override/Pango.lua
/usr/share/lua/5.4/lgi/override/PangoCairo.lua
/usr/share/lua/5.4/lgi/override/cairo.lua
/usr/share/lua/5.4/lgi/package.lua
/usr/share/lua/5.4/lgi/record.lua
/usr/share/lua/5.4/lgi/version.lua
References
Summary
In this tutorial we learn how to install lua-lgi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).