How To Install net-snmp-utils on Rocky Linux 8

In this tutorial we learn how to install net-snmp-utils on Rocky Linux 8. net-snmp-utils is Network management utilities using SNMP, from the NET-SNMP project

Introduction

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

What is net-snmp-utils

The net-snmp-utils package contains various utilities for use with the NET-SNMP network management project. Install this package if you need utilities for managing your network using the SNMP protocol. You will also need to install the net-snmp package.

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

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

sudo dnf -y install net-snmp-utils

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

sudo yum -y install net-snmp-utils

How To Uninstall net-snmp-utils on Rocky Linux 8

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

sudo dnf remove net-snmp-utils

net-snmp-utils Package Contents on Rocky Linux 8

/usr/bin/encode_keychange
/usr/bin/snmpbulkget
/usr/bin/snmpbulkwalk
/usr/bin/snmpdelta
/usr/bin/snmpdf
/usr/bin/snmpget
/usr/bin/snmpgetnext
/usr/bin/snmpinform
/usr/bin/snmpnetstat
/usr/bin/snmpping
/usr/bin/snmpps
/usr/bin/snmpset
/usr/bin/snmpstatus
/usr/bin/snmptable
/usr/bin/snmptest
/usr/bin/snmptls
/usr/bin/snmptop
/usr/bin/snmptranslate
/usr/bin/snmptrap
/usr/bin/snmpusm
/usr/bin/snmpvacm
/usr/bin/snmpwalk
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/f8058fb98880097878e05cf55b82dcabfcc968
/usr/lib/.build-id/06
/usr/lib/.build-id/06/1d172821763d6445c33401ca7ee4b53ccdc553
/usr/lib/.build-id/11
/usr/lib/.build-id/11/d1e8f0d9ddd7634f02ea2d6b941333cdaa366a
/usr/lib/.build-id/12
/usr/lib/.build-id/12/310a9c6bac757745ce2651511e3a87f6b081d3
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/daad062adc3ca807c6c176a2e88f60973fd77e
/usr/lib/.build-id/37
/usr/lib/.build-id/37/1094bc7f0348f8a63c9f75006ac855616a7bd6
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/cbb7801a35400e49c252c467035a743f27527c
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/515b3a197f8c85efd609099f5d5ffe13d51e2d
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/80ff7a909bae42e82c10fce7e04dfbca82a107
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/c9c8e45c1d5a1859790d401cda4bce5d78912e
/usr/lib/.build-id/96
/usr/lib/.build-id/96/116c3319743602066b756293d1efd352ba2f68
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/4f044b85e479fd061e887452aec617f531162b
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/73ef5789a006d9dab8407c20aefef123f1bb6c
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/2b2454b4c18b76751ead8fc5337dac32ffe62b
/usr/lib/.build-id/de
/usr/lib/.build-id/de/81f2828a288b27ca6e720db53cb3ed6d55a88a
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/290eb733b0c910388152b5d67b744e03420613
/usr/lib/.build-id/e1/647a024116ae71f1071f061faab184b285ec9e
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/56c435250b6d8324ce81b709df8f10ec7a13a1
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/b7d06275b59b4c88b7adcc897fe365841bdc64
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/cc9fce92101ecb375afd4b6b6640defa55837a
/usr/share/man/man1/encode_keychange.1.gz
/usr/share/man/man1/snmpbulkget.1.gz
/usr/share/man/man1/snmpbulkwalk.1.gz
/usr/share/man/man1/snmpcmd.1.gz
/usr/share/man/man1/snmpconf.1.gz
/usr/share/man/man1/snmpdelta.1.gz
/usr/share/man/man1/snmpdf.1.gz
/usr/share/man/man1/snmpget.1.gz
/usr/share/man/man1/snmpgetnext.1.gz
/usr/share/man/man1/snmpinform.1.gz
/usr/share/man/man1/snmpnetstat.1.gz
/usr/share/man/man1/snmpps.1.gz
/usr/share/man/man1/snmpset.1.gz
/usr/share/man/man1/snmpstatus.1.gz
/usr/share/man/man1/snmptable.1.gz
/usr/share/man/man1/snmptest.1.gz
/usr/share/man/man1/snmptop.1.gz
/usr/share/man/man1/snmptranslate.1.gz
/usr/share/man/man1/snmptrap.1.gz
/usr/share/man/man1/snmpusm.1.gz
/usr/share/man/man1/snmpvacm.1.gz
/usr/share/man/man1/snmpwalk.1.gz
/usr/share/man/man5/snmp.conf.5.gz
/usr/share/man/man5/variables.5.gz

References

Summary

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