How To Install lua-expat on Fedora 36

In this tutorial we learn how to install lua-expat in Fedora 36. lua-expat is SAX XML parser based on the Expat library

Introduction

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

What is lua-expat

LuaExpat is a SAX XML parser based on the Expat library.

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

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

sudo dnf -y install lua-expat

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

sudo yum -y install lua-expat

How To Uninstall lua-expat on Fedora 36

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

sudo dnf remove lua-expat

lua-expat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/634297edd9744888fd23ca9bc6c60a72184539
/usr/lib64/lua/5.4/lxp.so
/usr/share/doc/lua-expat
/usr/share/doc/lua-expat/README
/usr/share/doc/lua-expat/examples.html
/usr/share/doc/lua-expat/index.html
/usr/share/doc/lua-expat/license.html
/usr/share/doc/lua-expat/lom.html
/usr/share/doc/lua-expat/luaexpat.png
/usr/share/doc/lua-expat/manual.html
/usr/share/lua/5.4/lxp
/usr/share/lua/5.4/lxp/lom.lua

References

Summary

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