How to install tracepath / traceroute commands on a Debian or Ubuntu Linux

ht‮/:spt‬/www.lautturi.com
How to install tracepath / traceroute commands on a Debian or Ubuntu Linux

To install the tracepath and traceroute commands on a Debian-based Linux system, such as Ubuntu, you can use the apt-get or apt command.

To install tracepath and traceroute using apt-get, run the following command:

sudo apt-get install inetutils-traceroute

To install tracepath and traceroute using apt, run the following command:

sudo apt install inetutils-traceroute

This will install the inetutils-traceroute package, which includes both the tracepath and traceroute commands.

The tracepath command is used to trace the path that packets take from your system to a specified destination. It can be used to troubleshoot network connectivity issues and identify the routers and intermediate hops between your system and the destination.

The traceroute command is similar to tracepath, but it uses the ICMP protocol (ping) to trace the route rather than UDP.

To use either command, simply specify the destination hostname or IP address as an argument. For example:

tracepath www.example.com

or

traceroute www.example.com

Both commands will print the list of intermediate hops and the round-trip time for each hop to the console.

Created Time:2017-10-28 21:39:05  Author:lautturi