How To Install scamper on Ubuntu 18.04

In this tutorial we learn how to install scamper on Ubuntu 18.04. scamper is parallel Internet measurement utility

Introduction

In this tutorial we learn how to install scamper on Ubuntu 18.04.

What is scamper

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.

There are three methods to install scamper on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install scamper Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install scamper using apt-get by running the following command:

sudo apt-get -y install scamper

Install scamper Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install scamper using apt by running the following command:

sudo apt -y install scamper

Install scamper Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install scamper using aptitude by running the following command:

sudo aptitude -y install scamper

How To Uninstall scamper on Ubuntu 18.04

To uninstall only the scamper package we can use the following command:

sudo apt-get remove scamper

Uninstall scamper And Its Dependencies

To uninstall scamper and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove scamper

Remove scamper Configurations and Data

To remove scamper configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scamper

Remove scamper configuration, data, and all of its dependencies

We can use the following command to remove scamper configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge scamper

References

Summary

In this tutorial we learn how to install scamper package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.