How To Install ldapdiff on Fedora 34

ldapdiff is Tool for incremental LDAP directory updates based on ldif files

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install ldapdiff.

Install ldapdiff on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ldapdiff using dnf by running the following command:

sudo dnf -y install ldapdiff

Install ldapdiff on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove ldapdiff

ldapdiff Package Contents on Fedora 34

/usr/bin/ldapdiff
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/6361c2592ad8b4e4557bd870b78c6086e93d18
/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 34 using yum and dnf.