snmpc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
snmpc: command not found
or when using sudo you get the following error message
sudo: snmpc: command not found
Solutions to snmpc: command not found
How To Fix snmpc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu snmpc is provided by erlang-snmp package.
erlang-snmp is:
A multilingual Simple Network Management Protocol application features an Extensible Agent, simple manager, a MIB compiler and facilities for implementing SNMP MIBs etc.
The OTP_Mibs application provides an SNMP management information base for Erlang nodes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install erlang-snmp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install erlang-snmp.
sudo apt -y install erlang-snmp
Or if you have aptitude installed you can use the following command.
sudo aptitude install erlang-snmp
Summary
In this tutorial we learn how to fix snmpc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.