I'm using Ubuntu 18.04, and I don't have traceroute
, even I've just done,
sudo apt-get install traceroute
So I checked, and indeed traceroute package don't have traceroute program:
$ dpkg -L traceroute
/.
/usr
/usr/bin
/usr/bin/lft.db
/usr/bin/traceproto.db
/usr/bin/traceroute-nanog
/usr/bin/traceroute.db
/usr/include
/usr/include/clif.h
/usr/lib
/usr/lib/libsupp.a
/usr/sbin
/usr/sbin/tcptraceroute.db
/usr/share
/usr/share/doc
/usr/share/doc/traceroute
/usr/share/doc/traceroute/CREDITS
/usr/share/doc/traceroute/README
/usr/share/doc/traceroute/TODO
/usr/share/doc/traceroute/changelog.Debian.gz
/usr/share/doc/traceroute/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/traceroute.db.1.gz
/usr/share/man/man8
/usr/bin/traceroute6.db
/usr/share/man/man1/lft.db.1.gz
/usr/share/man/man1/traceproto.db.1.gz
/usr/share/man/man1/traceroute-nanog.1.gz
/usr/share/man/man1/traceroute6.db.1.gz
/usr/share/man/man8/tcptraceroute.db.8.gz
How to do traceroute then?
I remember that ping
can do it, but didn't find that in a rush.
I do have traceroute6
but, don't know how to use it:
$ traceroute6 172.217.2.165
traceroute: 172.217.2.165: Address family for hostname not supported
FTR,
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic