snmpsim-pcap2dev command not found

In this troubleshooting guide we learn how to fix snmpsim-pcap2dev command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

snmpsim-pcap2dev: command not found

or when using sudo you get the following error message

sudo: snmpsim-pcap2dev: command not found

Solutions to snmpsim-pcap2dev: command not found

How To Fix snmpsim-pcap2dev: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu snmpsim-pcap2dev is provided by snmpsim package.

snmpsim is:

SNMP Simulator is a software that would act like a multitude of real physical devices from SNMP Manager’s point of view. Simulator builds and uses a database of physical devices’ SNMP footprints to respond like their real counterparts do.

Typical use case for this software starts with recording a snapshot of SNMP objects of donor agents into text files. Once you have your snapshots at hand, a simulator script could be run over the snapshots responding to SNMP queries in the same way as donor SNMP agents did at the time of recording.

Technically, SNMP Simulator is a multi-context SNMP agent. That means that it handles multiple sets of managed object all at once. Each device is simulated within a dedicated SNMP context.

To fix this problem, we can install more using the command below.

sudo apt-get -y install snmpsim

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install snmpsim.

sudo apt -y install snmpsim

Or if you have aptitude installed you can use the following command.

sudo aptitude install snmpsim

Summary

In this tutorial we learn how to fix snmpsim-pcap2dev command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.