tracepath command not found

In this troubleshooting guide we learn how to fix tracepath command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tracepath: command not found

or when using sudo you get the following error message

sudo: tracepath: command not found

Solutions to tracepath: command not found

How To Fix tracepath: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tracepath is provided by iputils-tracepath package.

iputils-tracepath is:

The tracepath utility is similar to the traceroute utility, but also attempts to discover the MTU of the path. Supports IPv4 and IPv6.

To fix this problem, we can install more using the command below.

sudo apt-get -y install iputils-tracepath

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install iputils-tracepath.

sudo apt -y install iputils-tracepath

Or if you have aptitude installed you can use the following command.

sudo aptitude install iputils-tracepath

Summary

In this tutorial we learn how to fix tracepath command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.