Install libnet-traceroute-pureperl-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-traceroute-pureperl-perl
traceroute(1) functionality in perl via raw sockets
Net::Traceroute::PurePerl implements traceroute(1) functionality for perl5. It allows you to trace the path IP packets take to a destination. It is implemented by using raw sockets to act just like the regular traceroute. . You must also be root to use the raw sockets.