sngrep command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sngrep: command not found
or when using sudo you get the following error message
sudo: sngrep: command not found
Solutions to sngrep: command not found
How To Fix sngrep: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sngrep is provided by sngrep package.
sngrep is:
sngrep displays SIP Messages grouped by Call-Id into flow diagrams. It can be used as an offline pcap viewer or online capture using libpcap functions.
It supports SIP UDP and TCP transports (when each message is delivered in one packet).
To fix this problem, we can install more using the command below.
sudo apt-get -y install sngrep
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sngrep.
sudo apt -y install sngrep
Or if you have aptitude installed you can use the following command.
sudo aptitude install sngrep
Summary
In this tutorial we learn how to fix sngrep command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.