How to Install Trace Route In Linux

Table of Contents

How to Install Trace Route in Linux

In this tutorial, you will be guided on how to install Trace Route (traceroute).
We will start with a discussion of what is traceroute,
What Is Traceroute and How Does It Work?


With Traceroute, you can run tools used for network diagnostics. As a result of this function, administrators are able to trace the paths of data packets from their source to their destination. A traceroute will show the route data takes to reach an IP server from one point on a network. 


Here are the following instructions for installing traceroute on the following servers,



  • Fedora
  • Debian
  • Ubuntu
  • CentOS



Installing Traceroute
  • CentOS/Fedora


Connect to your server over SSH or KVM 



And run the following command: 


yum -y install traceroute

Currently, you have introduced Trace Route (traceroute) on your server. If you receive an error message that says traceroute is not available, run the following command:



yum update


  • Debian/Ubuntu


Connect to your server over SSH or KVM 


Run the following command:


apt-get -y install traceroute


Right now you have Trace Route (traceroute) introduced on your server In the event that you get a message that says it can’t find traceroute, Please run the following command:


apt-get update



That’s it!


Our goal in writing this article is to give you an overview of how to install traceroute in different linux flavors and we hope this article has given you a better understanding.



Get the most out of learning with

Share on
VPSie Cloud service

Unlock Your

20% Discount

The First 3 orders get 20% discount! Try Sign up on VPSie to get a chance to get the discount.