How To Install lua-ldap-compat on Fedora 36

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

Introduction

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

What is lua-ldap-compat

LuaLDAP is a simple interface from Lua to an LDAP client. It enables a Lua 5.1 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-compat on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-ldap-compat.

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

sudo dnf -y install lua-ldap-compat

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

sudo yum -y install lua-ldap-compat

How To Uninstall lua-ldap-compat on Fedora 36

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

sudo dnf remove lua-ldap-compat

lua-ldap-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/253856e308168eb2de51d5bdc5b6871f6842a2
/usr/lib64/lua/5.1/lualdap.so
/usr/lib64/lua/5.1/lualdap.so.1.1.0
/usr/share/doc/lua-ldap-compat
/usr/share/doc/lua-ldap-compat/README
/usr/share/doc/lua-ldap-compat/doc
/usr/share/doc/lua-ldap-compat/doc/us
/usr/share/doc/lua-ldap-compat/doc/us/index.html
/usr/share/doc/lua-ldap-compat/doc/us/license.html
/usr/share/doc/lua-ldap-compat/doc/us/lualdap.png
/usr/share/doc/lua-ldap-compat/doc/us/manual.html

References

Summary

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