How To Install net-snmp-agent-libs on Rocky Linux 8

In this tutorial we learn how to install net-snmp-agent-libs on Rocky Linux 8. net-snmp-agent-libs is The NET-SNMP runtime agent libraries

Introduction

In this tutorial we learn how to install net-snmp-agent-libs on Rocky Linux 8.

What is net-snmp-agent-libs

The net-snmp-agent-libs package contains the runtime agent libraries for shared binaries and applications.

We can use yum or dnf to install net-snmp-agent-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install net-snmp-agent-libs.

Install net-snmp-agent-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install net-snmp-agent-libs using dnf by running the following command:

sudo dnf -y install net-snmp-agent-libs

Install net-snmp-agent-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install net-snmp-agent-libs using yum by running the following command:

sudo yum -y install net-snmp-agent-libs

How To Uninstall net-snmp-agent-libs on Rocky Linux 8

To uninstall only the net-snmp-agent-libs package we can use the following command:

sudo dnf remove net-snmp-agent-libs

net-snmp-agent-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/fe7a995dc5f3d490b0f3a87579770fa2a91161
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/8879a26973eefe53d502a38539c5c369eae6a1
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/37e9c969ffe9485b70137309b7cde95de4abef
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/13569c8f30bd7c68e79393eb3405c9409d8aec
/usr/lib/libnetsnmpagent.so.35
/usr/lib/libnetsnmpagent.so.35.0.0
/usr/lib/libnetsnmphelpers.so.35
/usr/lib/libnetsnmphelpers.so.35.0.0
/usr/lib/libnetsnmpmibs.so.35
/usr/lib/libnetsnmpmibs.so.35.0.0
/usr/lib/libnetsnmptrapd.so.35
/usr/lib/libnetsnmptrapd.so.35.0.0
/usr/lib/.build-id
/usr/lib/.build-id/2f/2d7f7203a28b73381e075af09b9b4363426c8e
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/cf768d415977ad2dfb6d8aed9ea932d4976489
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/7be53233d7d7c8cd6eafb2227b152b37d9902f
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/4626a3efe5024331a08e16ba8bd9312d5d2a21
/usr/lib64/libnetsnmpagent.so.35
/usr/lib64/libnetsnmpagent.so.35.0.0
/usr/lib64/libnetsnmphelpers.so.35
/usr/lib64/libnetsnmphelpers.so.35.0.0
/usr/lib64/libnetsnmpmibs.so.35
/usr/lib64/libnetsnmpmibs.so.35.0.0
/usr/lib64/libnetsnmptrapd.so.35
/usr/lib64/libnetsnmptrapd.so.35.0.0

References

Summary

In this tutorial we learn how to install net-snmp-agent-libs on Rocky Linux 8 using yum and dnf.