How To Install lua-ldap on Fedora 36

In this tutorial we learn how to install lua-ldap in Fedora 36. lua-ldap is LDAP client library for Lua, using OpenLDAP

Introduction

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

What is lua-ldap

LuaLDAP is a simple interface from Lua to an LDAP client. It enables a Lua program to * Connect to an LDAP server; * Execute any operation (search, add, compare, delete, modify and rename); * Retrieve entries and references of the search result.

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

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

sudo dnf -y install lua-ldap

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

sudo yum -y install lua-ldap

How To Uninstall lua-ldap on Fedora 36

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

sudo dnf remove lua-ldap

lua-ldap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/76b882864c649147b6dfc92a110acbf6fc385e
/usr/lib64/lua/5.4/lualdap.so
/usr/lib64/lua/5.4/lualdap.so.1.1.0
/usr/share/doc/lua-ldap
/usr/share/doc/lua-ldap/README
/usr/share/doc/lua-ldap/doc
/usr/share/doc/lua-ldap/doc/us
/usr/share/doc/lua-ldap/doc/us/index.html
/usr/share/doc/lua-ldap/doc/us/license.html
/usr/share/doc/lua-ldap/doc/us/lualdap.png
/usr/share/doc/lua-ldap/doc/us/manual.html

References

Summary

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