How To Install erlang-snmp on Rocky Linux 8
Introduction
In this tutorial we learn how to install erlang-snmp
on Rocky Linux 8.
What is erlang-snmp
Simple Network Management Protocol (SNMP) support including a MIB compiler and tools for creating SNMP agents.
We can use yum
or dnf
to install erlang-snmp
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-snmp.
Install erlang-snmp 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 erlang-snmp
using dnf
by running the following command:
sudo dnf -y install erlang-snmp
Install erlang-snmp 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 erlang-snmp
using yum
by running the following command:
sudo yum -y install erlang-snmp
How To Uninstall erlang-snmp on Rocky Linux 8
To uninstall only the erlang-snmp
package we can use the following command:
sudo dnf remove erlang-snmp
erlang-snmp Package Contents on Rocky Linux 8
/usr/lib64/erlang/lib/snmp-5.3
/usr/lib64/erlang/lib/snmp-5.3/bin
/usr/lib64/erlang/lib/snmp-5.3/bin/snmpc
/usr/lib64/erlang/lib/snmp-5.3/ebin
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp.app
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp.appup
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_app.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_app_sup.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_community_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_conf.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_config.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_framework_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_generic.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_generic_mnesia.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_index.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_log.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_mini_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_misc.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_note_store.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_notification_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_pdus.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_shadow_table.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_standard_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_target_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_user_based_sm_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_usm.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_verbosity.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmp_view_based_acm_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_acm.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_agent.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_agent_sup.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_app.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_authentication_service.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_conf.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_discovery_handler.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_discovery_handler_default.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_error.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_error_io.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_error_logger.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_error_report.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_get.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_get_lib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_get_mechanism.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_local_db.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_data.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_data_tttn.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_lib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_storage.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_storage_dets.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_storage_ets.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mib_storage_mnesia.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_misc_sup.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_mpd.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_net_if.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_net_if_filter.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_network_interface.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_network_interface_filter.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_notification_delivery_info_receiver.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_notification_filter.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_set.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_set_lib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_set_mechanism.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_supervisor.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_svbl.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_symbolic_store.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_target_cache.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_trap.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_usm.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpa_vacm.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc_lib.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc_mib_gram.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc_mib_to_hrl.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc_misc.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpc_tok.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_conf.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_config.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_misc_sup.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_mpd.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_net_if.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_net_if_filter.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_net_if_mt.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_network_interface.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_network_interface_filter.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_server.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_server_sup.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_supervisor.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_user.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_user_default.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_user_old.beam
/usr/lib64/erlang/lib/snmp-5.3/ebin/snmpm_usm.beam
/usr/lib64/erlang/lib/snmp-5.3/include
/usr/lib64/erlang/lib/snmp-5.3/include/INET-ADDRESS-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/OTP-REG.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/OTP-SNMPEA-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/OTP-TC.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/RFC1213-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-COMMUNITY-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-FRAMEWORK-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-MPD-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-NOTIFICATION-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-TARGET-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-USER-BASED-SM-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-USM-AES-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMP-VIEW-BASED-ACM-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMPv2-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMPv2-TC.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/SNMPv2-TM.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/STANDARD-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/TRANSPORT-ADDRESS-MIB.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/snmp_tables.hrl
/usr/lib64/erlang/lib/snmp-5.3/include/snmp_types.hrl
/usr/lib64/erlang/lib/snmp-5.3/mibs
/usr/lib64/erlang/lib/snmp-5.3/mibs/INET-ADDRESS-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/OTP-REG.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/OTP-SNMPEA-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/OTP-TC.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/RFC1213-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-COMMUNITY-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-FRAMEWORK-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-MPD-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-NOTIFICATION-MIB.funcs
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-NOTIFICATION-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-TARGET-MIB.funcs
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-TARGET-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-USER-BASED-SM-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-USM-AES-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMP-VIEW-BASED-ACM-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-CONF.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-MIB.funcs
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-SMI.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-TC.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/SNMPv2-TM.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/STANDARD-MIB.funcs
/usr/lib64/erlang/lib/snmp-5.3/mibs/STANDARD-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/TRANSPORT-ADDRESS-MIB.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/v1
/usr/lib64/erlang/lib/snmp-5.3/mibs/v1/OTP-SNMPEA-MIB.mib.v1
/usr/lib64/erlang/lib/snmp-5.3/mibs/v1/RFC-1212.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/v1/RFC-1215.mib
/usr/lib64/erlang/lib/snmp-5.3/mibs/v1/RFC1155-SMI.mib
/usr/lib64/erlang/lib/snmp-5.3/priv
/usr/lib64/erlang/lib/snmp-5.3/priv/conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/agent.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/community.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/context.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/notify.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/standard.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/target_addr.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/target_params.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/usm.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/agent/vacm.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/manager
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/manager/agents.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/manager/manager.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/conf/manager/users.conf
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/INET-ADDRESS-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/OTP-REG.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/OTP-SNMPEA-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/OTP-TC.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/RFC1213-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-COMMUNITY-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-FRAMEWORK-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-MPD-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-NOTIFICATION-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-TARGET-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-USER-BASED-SM-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-USM-AES-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMP-VIEW-BASED-ACM-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMPv2-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/SNMPv2-TM.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/STANDARD-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/priv/mibs/TRANSPORT-ADDRESS-MIB.bin
/usr/lib64/erlang/lib/snmp-5.3/src
/usr/lib64/erlang/lib/snmp-5.3/src/agent
/usr/lib64/erlang/lib/snmp-5.3/src/agent/snmpa_atl.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/agent/snmpa_internal.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/agent/snmpa_vacm.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/app
/usr/lib64/erlang/lib/snmp-5.3/src/app/snmp_internal.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/compiler
/usr/lib64/erlang/lib/snmp-5.3/src/compiler/snmpc.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/compiler/snmpc_lib.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/compiler/snmpc_misc.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/manager
/usr/lib64/erlang/lib/snmp-5.3/src/manager/snmpm_atl.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/manager/snmpm_internal.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/manager/snmpm_usm.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/misc
/usr/lib64/erlang/lib/snmp-5.3/src/misc/snmp_debug.hrl
/usr/lib64/erlang/lib/snmp-5.3/src/misc/snmp_verbosity.hrl
References
Summary
In this tutorial we learn how to install erlang-snmp
on Rocky Linux 8 using yum and dnf.