How To Install mahimahi-traces on Ubuntu 18.04

In this tutorial we learn how to install mahimahi-traces on Ubuntu 18.04. mahimahi-traces is network traces for the mahimahi toolkit

Introduction

In this tutorial we learn how to install mahimahi-traces on Ubuntu 18.04.

What is mahimahi-traces

mahimahi-traces is:

These trace files represent the time-varying capacity of U.S. cellular networks as experienced by a mobile user. They were recorded using the “Saturator” tool described in the research paper:

K. Winstein, A. Sivaraman, and H. Balakrishnan, “Stochastic Forecasts Achieve High Throughput and Low Delay over Cellular Networks”, USENIX NSDI 2013.

The traces can be played back by the mm-link network emulator, part of the mahimahi toolkit.

There are three methods to install mahimahi-traces 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 mahimahi-traces Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mahimahi-traces

Install mahimahi-traces Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mahimahi-traces

Install mahimahi-traces 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 mahimahi-traces using aptitude by running the following command:

sudo aptitude -y install mahimahi-traces

How To Uninstall mahimahi-traces on Ubuntu 18.04

To uninstall only the mahimahi-traces package we can use the following command:

sudo apt-get remove mahimahi-traces

Uninstall mahimahi-traces And Its Dependencies

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

sudo apt-get -y autoremove mahimahi-traces

Remove mahimahi-traces Configurations and Data

To remove mahimahi-traces configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mahimahi-traces

Remove mahimahi-traces configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mahimahi-traces

References

Summary

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