sc_warts2json command not found

In this troubleshooting guide we learn how to fix sc_warts2json command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

sc_warts2json: command not found

or when using sudo you get the following error message

sudo: sc_warts2json: command not found

Solutions to sc_warts2json: command not found

How To Fix sc_warts2json: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sc_warts2json is provided by scamper package.

scamper is:

scamper is a program that is able to conduct Internet measurement tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to fill a specified packets-per-second rate. Currently, it supports the well-known ping and traceroute techniques, as well as MDA traceroute, alias resolution, some parts of tbit, sting, and neighbour discovery.

scamper can do ICMP-based Path MTU discovery. scamper starts with the outgoing interface’s MTU and discovers the location of Path MTU bottlenecks. scamper performs a PMTUD search when an ICMP fragmentation required message is not returned to establish the PMTU to the next point in the network, followed by a TTL limited search to infer where the failure appears to occur.

To fix this problem, we can install more using the command below.

sudo apt-get -y install scamper

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install scamper.

sudo apt -y install scamper

Or if you have aptitude installed you can use the following command.

sudo aptitude install scamper

Summary

In this tutorial we learn how to fix sc_warts2json command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.