dnscap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dnscap: command not found
or when using sudo you get the following error message
sudo: dnscap: command not found
Solutions to dnscap: command not found
How To Fix dnscap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dnscap is provided by dnscap package.
dnscap is:
dnscap is a network capture utility designed specifically for DNS traffic. It produces binary data in pcap(3) format. This utility is similar to tcpdump(1), but has a number of features tailored to DNS transactions and protocol options.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dnscap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dnscap.
sudo apt -y install dnscap
Or if you have aptitude installed you can use the following command.
sudo aptitude install dnscap
Summary
In this tutorial we learn how to fix dnscap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.