How To Install 389-ds-base on Fedora 36

In this tutorial we learn how to install 389-ds-base in Fedora 36. 389-ds-base is 389 Directory Server (base)

Introduction

In this tutorial we learn how to install 389-ds-base on Fedora 36.

What is 389-ds-base

389 Directory Server is an LDAPv3 compliant server. The base package includes the LDAP server and command line utilities for server administration.

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

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

sudo dnf -y install 389-ds-base

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

sudo yum -y install 389-ds-base

How To Uninstall 389-ds-base on Fedora 36

To uninstall only the 389-ds-base package we can use the following command:

sudo dnf remove 389-ds-base

389-ds-base Package Contents on Fedora 36

/etc/dirsrv
/etc/dirsrv/config
/etc/dirsrv/config/certmap.conf
/etc/dirsrv/config/slapd-collations.conf
/etc/dirsrv/schema
/etc/dirsrv/schema/99user.ldif
/etc/systemd/system/dirsrv.target.wants
/usr/bin/dbscan
/usr/bin/ds-logpipe.py
/usr/bin/ds-replcheck
/usr/bin/ldclt
/usr/bin/logconv.pl
/usr/bin/pwdhash
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/c22e52af78e2ffeafe1b492a0f0f8acdb98a4a
/usr/lib/.build-id/05
/usr/lib/.build-id/05/f1c97bea8b8fdaddaa8f3c334e101351c55bb9
/usr/lib/.build-id/08
/usr/lib/.build-id/08/296c3b2864f3388fbc60bc16f0951be7fdd638
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/d028d8d2bddd61b4e41b8af20967b8c48e0744
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/b0dec8ee7ff213128bf46461b0f13e1b10bd34
/usr/lib/.build-id/11
/usr/lib/.build-id/11/880c11be4de126e03269c2896ab691825c351e
/usr/lib/.build-id/16
/usr/lib/.build-id/16/3a284eb9ff26510bc00f0d366e3cccfae615dc
/usr/lib/.build-id/20
/usr/lib/.build-id/20/c56fe0536fef30cd953fc6d457991c6c1f7184
/usr/lib/.build-id/25
/usr/lib/.build-id/25/c2ccf9204a875a80f33bc4fab6bef005738999
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/530635fc5deba59068e4acbbc0d6ac2f31e12b
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/fc6060f08bc558a05445346dd3a6d37dbf9148
/usr/lib/.build-id/32
/usr/lib/.build-id/32/967ccebe486697b437aa60049bc40289b5d0a4
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/8b6b9d2f28756ecf8e8d87959d750e0b3fe349
/usr/lib/.build-id/41
/usr/lib/.build-id/41/50d667a391c2ac777f46eab0014c02096b78c2
/usr/lib/.build-id/50
/usr/lib/.build-id/50/e29661bd68cfb61630e2826b9af84dae05a31e
/usr/lib/.build-id/51
/usr/lib/.build-id/51/879917a3c34bf7489b59f8e48723dd8070f98f
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/0edaf10b2c819021d06d47dae0f4364ca21190
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/ae4a1bbd0f6c265a54a7f79816fb8bff27cd66
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/089337b31dba9173701aeb27436dc9008a355f
/usr/lib/.build-id/70
/usr/lib/.build-id/70/9daea7c28e64f01daf88762018318b6bf5761e
/usr/lib/.build-id/77
/usr/lib/.build-id/77/c6a82ae23249daa55671db084c7335dfa90d7c
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/518cf1a0a1f5aa57efccf479c1987a970b4923
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/0663b04de637f4710c609bf7ce2d77e00b6261
/usr/lib/.build-id/7d/beffd1f7f9265b587cbc15779444724b6d0058
/usr/lib/.build-id/87
/usr/lib/.build-id/87/a1a15a8f81b663c3141bda9aff25fa58b365e3
/usr/lib/.build-id/88
/usr/lib/.build-id/88/13f5288ac5a58d1ca77c70ae1d8d676385e1b6
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/0e9bfffa492cfeb3aeae2eed31c5f44e90990e
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/35abb8b0d204f5eb5317b4cd560f413e334a38
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/5c5e16229d938503a90cc42734c9403ec4ceec
/usr/lib/.build-id/9f/6716a9d9726754d54691763392397826047acd
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/dd33cf7fbaf2afea86559cedb8a119660a9def
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/cb925059871df982a66362d824ee3bb83bd09d
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/e3741c83f0c3c1ab72162068b313f9912e3a8e
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/e99de8a50317f044b9f718f3f9fa915441af25
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/202303c64673f612d1c1dd0dc70e76af598a6e
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/9fd43a6e788bea5aa215bd9b08ba72c7c6334e
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/77a41fc9cbac6b14b2176fd1136b3b289a4811
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/34f33802fcde9e961b4e37bdbf15d1e7f6dd82
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/3918b71a21cd8330cf0e970a3bd9d5cba67d6f
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/2438b7787b867a5e6e22fd65368c6a9d0460af
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/e3dd7444fbda59b35a11049459245dd513507c
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/10543a21aa957db95648d00238d665813e7d83
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/9fc7bd56a81dee69d75cb6b0f86fb8a207af47
/usr/lib/sysctl.d/70-dirsrv.conf
/usr/lib/systemd/system
/usr/lib/systemd/system/dirsrv.target
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]/custom.conf
/usr/lib64/dirsrv/bin
/usr/lib64/dirsrv/bin/jeprof
/usr/lib64/dirsrv/lib
/usr/lib64/dirsrv/lib/libjemalloc.so.2
/usr/lib64/dirsrv/plugins
/usr/lib64/dirsrv/plugins/libacctpolicy-plugin.so
/usr/lib64/dirsrv/plugins/libacctusability-plugin.so
/usr/lib64/dirsrv/plugins/libacl-plugin.so
/usr/lib64/dirsrv/plugins/libaddn-plugin.so
/usr/lib64/dirsrv/plugins/libattr-unique-plugin.so
/usr/lib64/dirsrv/plugins/libautomember-plugin.so
/usr/lib64/dirsrv/plugins/libback-ldbm.so
/usr/lib64/dirsrv/plugins/libbitwise-plugin.so
/usr/lib64/dirsrv/plugins/libchainingdb-plugin.so
/usr/lib64/dirsrv/plugins/libcollation-plugin.so
/usr/lib64/dirsrv/plugins/libcontentsync-plugin.so
/usr/lib64/dirsrv/plugins/libcos-plugin.so
/usr/lib64/dirsrv/plugins/libderef-plugin.so
/usr/lib64/dirsrv/plugins/libdistrib-plugin.so
/usr/lib64/dirsrv/plugins/libdna-plugin.so
/usr/lib64/dirsrv/plugins/libentryuuid-plugin.so
/usr/lib64/dirsrv/plugins/libentryuuid-syntax-plugin.so
/usr/lib64/dirsrv/plugins/liblinkedattrs-plugin.so
/usr/lib64/dirsrv/plugins/libmanagedentries-plugin.so
/usr/lib64/dirsrv/plugins/libmemberof-plugin.so
/usr/lib64/dirsrv/plugins/libpam-passthru-plugin.so
/usr/lib64/dirsrv/plugins/libpassthru-plugin.so
/usr/lib64/dirsrv/plugins/libpbe-plugin.so
/usr/lib64/dirsrv/plugins/libposix-winsync-plugin.so
/usr/lib64/dirsrv/plugins/libpwdchan-plugin.so
/usr/lib64/dirsrv/plugins/libpwdstorage-plugin.so
/usr/lib64/dirsrv/plugins/libreferint-plugin.so
/usr/lib64/dirsrv/plugins/libreplication-plugin.so
/usr/lib64/dirsrv/plugins/libretrocl-plugin.so
/usr/lib64/dirsrv/plugins/libroles-plugin.so
/usr/lib64/dirsrv/plugins/librootdn-access-plugin.so
/usr/lib64/dirsrv/plugins/libschemareload-plugin.so
/usr/lib64/dirsrv/plugins/libstatechange-plugin.so
/usr/lib64/dirsrv/plugins/libsyntax-plugin.so
/usr/lib64/dirsrv/plugins/libusn-plugin.so
/usr/lib64/dirsrv/plugins/libviews-plugin.so
/usr/lib64/dirsrv/plugins/libwhoami-plugin.so
/usr/lib64/dirsrv/python
/usr/lib64/dirsrv/python/failedbinds.py
/usr/lib64/dirsrv/python/logregex.py
/usr/libexec/dirsrv/ds_selinux_restorecon.sh
/usr/libexec/dirsrv/ds_systemd_ask_password_acl
/usr/sbin/ns-slapd
/usr/sbin/openldap_to_ds
/usr/share/dirsrv
/usr/share/dirsrv/data
/usr/share/dirsrv/data/10rfc2307bis.ldif
/usr/share/dirsrv/data/10rfc2307compat.ldif
/usr/share/dirsrv/data/60changelog.ldif
/usr/share/dirsrv/data/60inetmail.ldif
/usr/share/dirsrv/data/60kerberos.ldif
/usr/share/dirsrv/data/60krb5kdc.ldif
/usr/share/dirsrv/data/60nis.ldif
/usr/share/dirsrv/data/60qmail.ldif
/usr/share/dirsrv/data/60radius.ldif
/usr/share/dirsrv/data/60rfc4876.ldif
/usr/share/dirsrv/data/60samba.ldif
/usr/share/dirsrv/data/60sendmail.ldif
/usr/share/dirsrv/data/Ace.ldif
/usr/share/dirsrv/data/European.ldif
/usr/share/dirsrv/data/Eurosuffix.ldif
/usr/share/dirsrv/data/Example-roles.ldif
/usr/share/dirsrv/data/Example-views.ldif
/usr/share/dirsrv/data/Example.ldif
/usr/share/dirsrv/data/dbgen-FamilyNames
/usr/share/dirsrv/data/dbgen-GivenNames
/usr/share/dirsrv/data/dbgen-OrgUnits
/usr/share/dirsrv/data/dsee.schema
/usr/share/dirsrv/data/template-baseacis.ldif
/usr/share/dirsrv/data/template-country.ldif
/usr/share/dirsrv/data/template-domain.ldif
/usr/share/dirsrv/data/template-dse-minimal.ldif
/usr/share/dirsrv/data/template-dse.ldif
/usr/share/dirsrv/data/template-ldapi-autobind.ldif
/usr/share/dirsrv/data/template-ldapi-default.ldif
/usr/share/dirsrv/data/template-ldapi.ldif
/usr/share/dirsrv/data/template-locality.ldif
/usr/share/dirsrv/data/template-org.ldif
/usr/share/dirsrv/data/template-orgunit.ldif
/usr/share/dirsrv/data/template-sasl.ldif
/usr/share/dirsrv/data/template-state.ldif
/usr/share/dirsrv/data/template-suffix-db.ldif
/usr/share/dirsrv/data/template.ldif
/usr/share/dirsrv/inf
/usr/share/dirsrv/inf/defaults.inf
/usr/share/dirsrv/inf/slapd.inf
/usr/share/dirsrv/mibs
/usr/share/dirsrv/mibs/redhat-directory.mib
/usr/share/dirsrv/schema
/usr/share/dirsrv/schema/00core.ldif
/usr/share/dirsrv/schema/01core389.ldif
/usr/share/dirsrv/schema/02common.ldif
/usr/share/dirsrv/schema/03entryuuid.ldif
/usr/share/dirsrv/schema/05rfc2927.ldif
/usr/share/dirsrv/schema/05rfc4523.ldif
/usr/share/dirsrv/schema/05rfc4524.ldif
/usr/share/dirsrv/schema/06inetorgperson.ldif
/usr/share/dirsrv/schema/10automember-plugin.ldif
/usr/share/dirsrv/schema/10dna-plugin.ldif
/usr/share/dirsrv/schema/10mep-plugin.ldif
/usr/share/dirsrv/schema/10rfc2307compat.ldif
/usr/share/dirsrv/schema/20subscriber.ldif
/usr/share/dirsrv/schema/25java-object.ldif
/usr/share/dirsrv/schema/28pilot.ldif
/usr/share/dirsrv/schema/30ns-common.ldif
/usr/share/dirsrv/schema/50ns-admin.ldif
/usr/share/dirsrv/schema/50ns-certificate.ldif
/usr/share/dirsrv/schema/50ns-directory.ldif
/usr/share/dirsrv/schema/50ns-mail.ldif
/usr/share/dirsrv/schema/50ns-value.ldif
/usr/share/dirsrv/schema/50ns-web.ldif
/usr/share/dirsrv/schema/60acctpolicy.ldif
/usr/share/dirsrv/schema/60autofs.ldif
/usr/share/dirsrv/schema/60eduperson.ldif
/usr/share/dirsrv/schema/60mozilla.ldif
/usr/share/dirsrv/schema/60nss-ldap.ldif
/usr/share/dirsrv/schema/60pam-plugin.ldif
/usr/share/dirsrv/schema/60posix-winsync-plugin.ldif
/usr/share/dirsrv/schema/60pureftpd.ldif
/usr/share/dirsrv/schema/60rfc2739.ldif
/usr/share/dirsrv/schema/60rfc3712.ldif
/usr/share/dirsrv/schema/60sabayon.ldif
/usr/share/dirsrv/schema/60samba3.ldif
/usr/share/dirsrv/schema/60sudo.ldif
/usr/share/dirsrv/schema/60trust.ldif
/usr/share/doc/389-ds-base
/usr/share/doc/389-ds-base/LICENSE
/usr/share/doc/389-ds-base/LICENSE.GPLv3+
/usr/share/doc/389-ds-base/LICENSE.openssl
/usr/share/doc/389-ds-base/README.jemalloc
/usr/share/gdb/auto-load/usr
/usr/share/gdb/auto-load/usr/sbin
/usr/share/gdb/auto-load/usr/sbin/ns-slapd-gdb.py
/usr/share/licenses/389-ds-base
/usr/share/licenses/389-ds-base/COPYING.jemalloc
/usr/share/man/man1/dbscan.1.gz
/usr/share/man/man1/ds-logpipe.py.1.gz
/usr/share/man/man1/ds-replcheck.1.gz
/usr/share/man/man1/ldclt.1.gz
/usr/share/man/man1/logconv.pl.1.gz
/usr/share/man/man1/pwdhash.1.gz
/usr/share/man/man5/99user.ldif.5.gz
/usr/share/man/man5/certmap.conf.5.gz
/usr/share/man/man5/dirsrv.5.gz
/usr/share/man/man5/dirsrv.systemd.5.gz
/usr/share/man/man5/slapd-collations.conf.5.gz
/usr/share/man/man8/ns-slapd.8.gz
/usr/share/man/man8/openldap_to_ds.8.gz
/var/lib/dirsrv
/var/lock/dirsrv
/var/log/dirsrv

References

Summary

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