How To Install ldapdiff on Fedora 36

In this tutorial we learn how to install ldapdiff in Fedora 36. ldapdiff is Tool for incremental LDAP directory updates based on ldif files

Introduction

In this tutorial we learn how to install ldapdiff on Fedora 36.

What is ldapdiff

ldapdiff combines “diff” and “patch” functionality in one application. The difference is, that ldapdiff is not designed for use on flat ascii files, it is designed for “patching” ldap directories using ldif files.

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

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

sudo dnf -y install ldapdiff

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

sudo yum -y install ldapdiff

How To Uninstall ldapdiff on Fedora 36

To uninstall only the ldapdiff package we can use the following command:

sudo dnf remove ldapdiff

ldapdiff Package Contents on Fedora 36

/usr/bin/ldapdiff
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/dc4e10908457b99227c708ce6ef9314d7fa099
/usr/share/doc/ldapdiff
/usr/share/doc/ldapdiff/AUTHORS
/usr/share/doc/ldapdiff/ChangeLog
/usr/share/doc/ldapdiff/README
/usr/share/doc/ldapdiff/TODO
/usr/share/doc/ldapdiff/changelog
/usr/share/ldapdiff
/usr/share/ldapdiff/ldapdiff.conf.sample
/usr/share/ldapdiff/samples
/usr/share/ldapdiff/samples/README
/usr/share/ldapdiff/samples/addentry.sh
/usr/share/ldapdiff/samples/anna-lena.jpg
/usr/share/ldapdiff/samples/genstress.sh
/usr/share/ldapdiff/samples/ldapdiff.conf
/usr/share/ldapdiff/samples/lisa-marie.jpg
/usr/share/ldapdiff/samples/slapd.conf.sample
/usr/share/ldapdiff/samples/stefanie.jpg
/usr/share/ldapdiff/samples/thomas.jpg
/usr/share/ldapdiff/samples/webtomware.group.ldif
/usr/share/ldapdiff/samples/webtomware.init.ldif
/usr/share/ldapdiff/samples/webtomware.user.ldif
/usr/share/ldapdiff/samples/webtomware_without_jpeg.user.ldif
/usr/share/man/man1/ldapdiff.1.gz

References

Summary

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