traceroute-nanog command not found

In this troubleshooting guide we learn how to fix traceroute-nanog command not found error message

Introduction

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

traceroute-nanog: command not found

or when using sudo you get the following error message

sudo: traceroute-nanog: command not found

Solutions to traceroute-nanog: command not found

How To Fix traceroute-nanog: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu traceroute-nanog is provided by traceroute package.

traceroute is:

The traceroute utility displays the route used by IP packets on their way to a specified network (or Internet) host. Traceroute displays the IP number and host name (if possible) of the machines along the route taken by the packets. Traceroute is used as a network debugging tool. If you’re having network connectivity problems, traceroute will show you where the trouble is coming from along the route.

Install traceroute if you need a tool for diagnosing network connectivity problems.

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

sudo apt-get -y install traceroute

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

You can also use apt command to install traceroute.

sudo apt -y install traceroute

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

sudo aptitude install traceroute

Summary

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