tcptraceroute.mt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tcptraceroute.mt: command not found
or when using sudo you get the following error message
sudo: tcptraceroute.mt: command not found
Solutions to tcptraceroute.mt: command not found
How To Fix tcptraceroute.mt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tcptraceroute.mt is provided by tcptraceroute package.
tcptraceroute is:
The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets with a TTL of one, and increments the TTL until the destination has been reached. By printing the gateways that generate ICMP time exceeded messages along the way, it is able to determine the path packets are taking to reach the destination.
The problem is that with the widespread use of firewalls on the modern Internet, many of the packets that traceroute(8) sends out end up being filtered, making it impossible to completely trace the path to the destination. However, in many cases, these firewalls will permit inbound TCP packets to specific ports that hosts sitting behind the firewall are listening for connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common firewall filters.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tcptraceroute
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tcptraceroute.
sudo apt -y install tcptraceroute
Or if you have aptitude installed you can use the following command.
sudo aptitude install tcptraceroute
Summary
In this tutorial we learn how to fix tcptraceroute.mt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.