How To Install inetutils-traceroute on Ubuntu 18.04

In this tutorial we learn how to install inetutils-traceroute on Ubuntu 18.04. inetutils-traceroute is trace the IPv4 route to another host

Introduction

In this tutorial we learn how to install inetutils-traceroute on Ubuntu 18.04.

What is inetutils-traceroute

inetutils-traceroute is:

The traceroute utility displays the route taken by IP packets on their way to another host or another network.

Install this package if you need a tool to examine network connectivity or to diagnose network problems.

There are three methods to install inetutils-traceroute on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install inetutils-traceroute Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install inetutils-traceroute using apt-get by running the following command:

sudo apt-get -y install inetutils-traceroute

Install inetutils-traceroute Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install inetutils-traceroute using apt by running the following command:

sudo apt -y install inetutils-traceroute

Install inetutils-traceroute 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install inetutils-traceroute using aptitude by running the following command:

sudo aptitude -y install inetutils-traceroute

How To Uninstall inetutils-traceroute on Ubuntu 18.04

To uninstall only the inetutils-traceroute package we can use the following command:

sudo apt-get remove inetutils-traceroute

Uninstall inetutils-traceroute And Its Dependencies

To uninstall inetutils-traceroute and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove inetutils-traceroute

Remove inetutils-traceroute Configurations and Data

To remove inetutils-traceroute configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge inetutils-traceroute

Remove inetutils-traceroute configuration, data, and all of its dependencies

We can use the following command to remove inetutils-traceroute configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge inetutils-traceroute

References

Summary

In this tutorial we learn how to install inetutils-traceroute package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.