8

My GCSE coursework in linux is asking me to do this:

Stupid GCSE questions

Whenever I attempt it it says this:

It doesn't work

So do I just need to install the packages and it will work?

8
  • I can't add the image for what happened once I installed it but basically this happened:
    – vanko003
    Nov 2, 2016 at 14:29
  • student@VS-STU-022:~$ traceroute bbc.co.uk traceroute to bbc.co.uk (212.58.246.79), 30 hops max, 60 byte packets 1 * * * 2 172.19.175.253 (172.19.175.253) 0.215 ms 0.189 ms 0.166 ms 3 213.235.26.97 (213.235.26.97) 1.978 ms 1.949 ms 1.871 ms 4 213.235.42.202 (213.235.42.202) 3.105 ms 3.033 ms 3.013 ms 5 xe-0-1-0.jprg-01.thn.uk.easynet.net (135.196.65.115) 3.198 ms 3.176 ms 3.146 ms 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * *
    – vanko003
    Nov 2, 2016 at 14:29
  • 1
    This is a normal output.
    – Pilot6
    Nov 2, 2016 at 14:30
  • 1
    In terminal, man traceroute will tell all.
    – heynnema
    Nov 2, 2016 at 15:28
  • 1
    This document may also be helpful, insofar as better enabling others to provide you the help you request: catb.org/esr/faqs/smart-questions.html
    – michael
    Jan 1, 2018 at 5:32

2 Answers 2

26

The default command for this purpose in Ubuntu is tracepath.

However you can install traceroute too by running

sudo apt install traceroute

as you can see in the error message.

1
  • I did that but once I did and I tried to run it, it came up with something that basically got me stuck
    – vanko003
    Nov 2, 2016 at 14:27
5

Install traceroute by using the following command :

sudo apt-get install inetutils-traceroute 

However you can use the default command in linux which is tracepath, but it is not as flexible as traceroute. In traceroute we can choose between TCP, UDP, ICMP data formats and gives us ability to change some options. Thus it requires root privileges.

1
  • 1
    I don't see what this adds to Pilot6 answer since the question explicitly asks about traceroute it would seem tracepath is irrelevant to this question.
    – Elder Geek
    Apr 24, 2017 at 22:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .