Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Internet Protocol network. Let’s see how to install traceroute on Amazon Linux 2.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install Traceroute on Amazon Linux 2
Step 1. Update Amazon Linux 2 packages.
sudo yum update
Step 2. Install traceroute.
sudo yum install traceroute
Step 3. Verify installation.
traceroute --version
Output:
Modern traceroute for Linux, version 2.0.22
Step 4. To test the traceroute, run:
traceroute devcoops.com
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.