How To Install 389-ds-base-snmp.x86_64 on Amazon Linux 2

In this tutorial we learn how to install 389-ds-base-snmp.x86_64 in Amazon Linux 2. 389-ds-base-snmp.x86_64 is SNMP Agent for 389 Directory Server

Introduction

In this tutorial we learn how to install 389-ds-base-snmp.x86_64 on Amazon Linux 2.

What is 389-ds-base-snmp.x86_64

SNMP Agent for the 389 Directory Server base package.

We can use yum to install 389-ds-base-snmp.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install 389-ds-base-snmp.x86_64.

Install 389-ds-base-snmp.x86_64 on Amazon Linux 2 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-snmp.x86_64 using yum by running the following command:

sudo yum -y install 389-ds-base-snmp.x86_64

How To Uninstall 389-ds-base-snmp.x86_64 on Amazon Linux 2

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

sudo yum remove 389-ds-base-snmp.x86_64

389-ds-base-snmp.x86_64 Package Contents on Amazon Linux 2

/etc/dirsrv/config/ldap-agent.conf
/usr/lib/systemd/system/dirsrv-snmp.service
/usr/sbin/ldap-agent
/usr/share/doc/389-ds-base-snmp-1.3.10.2
/usr/share/doc/389-ds-base-snmp-1.3.10.2/LICENSE
/usr/share/doc/389-ds-base-snmp-1.3.10.2/LICENSE.GPLv3+
/usr/share/doc/389-ds-base-snmp-1.3.10.2/LICENSE.openssl
/usr/share/doc/389-ds-base-snmp-1.3.10.2/README.devel
/usr/share/man/man1/ldap-agent.1.gz

References

Summary

In this tutorial we learn how to install 389-ds-base-snmp.x86_64 on Amazon Linux 2 using yum.