How To Install tcptraceroute on Debian 11
Introduction
In this tutorial we learn how to install tcptraceroute
on Debian 11.
What is tcptraceroute
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.
There are three methods to install tcptraceroute
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install tcptraceroute Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install tcptraceroute
using apt-get
by running the following command:
Install tcptraceroute Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install tcptraceroute
using apt
by running the following command:
Install tcptraceroute Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install tcptraceroute
using aptitude
by running the following command:
How To Uninstall tcptraceroute on Debian 11
To uninstall only the tcptraceroute
package we can use the following command:
Uninstall tcptraceroute And Its Dependencies
To uninstall tcptraceroute
and its dependencies that are no longer needed by Debian 11, we can use the command below:
Remove tcptraceroute Configurations and Data
To remove tcptraceroute
configuration and data from Debian 11 we can use the following command:
Remove tcptraceroute configuration, data, and all of its dependencies
We can use the following command to remove tcptraceroute
configurations, data and all of its dependencies, we can use the following command:
Dependencies
tcptraceroute have the following dependencies:
References
Summary
In this tutorial we learn how to install tcptraceroute
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.