How To Install mrtg-ping-probe on Ubuntu 18.04

In this tutorial we learn how to install mrtg-ping-probe on Ubuntu 18.04. mrtg-ping-probe is Ping module for Multi Router Traffic Grapher

Introduction

In this tutorial we learn how to install mrtg-ping-probe on Ubuntu 18.04.

What is mrtg-ping-probe

mrtg-ping-probe is:

mrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor the round trip time and packet loss to networked devices. MRTG uses its output to generate graphs visualizing minimum and maximum round trip times or packet loss.

There are three methods to install mrtg-ping-probe 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 mrtg-ping-probe Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mrtg-ping-probe

Install mrtg-ping-probe Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mrtg-ping-probe using apt by running the following command:

sudo apt -y install mrtg-ping-probe

Install mrtg-ping-probe 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 mrtg-ping-probe using aptitude by running the following command:

sudo aptitude -y install mrtg-ping-probe

How To Uninstall mrtg-ping-probe on Ubuntu 18.04

To uninstall only the mrtg-ping-probe package we can use the following command:

sudo apt-get remove mrtg-ping-probe

Uninstall mrtg-ping-probe And Its Dependencies

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

sudo apt-get -y autoremove mrtg-ping-probe

Remove mrtg-ping-probe Configurations and Data

To remove mrtg-ping-probe configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mrtg-ping-probe

Remove mrtg-ping-probe configuration, data, and all of its dependencies

We can use the following command to remove mrtg-ping-probe configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mrtg-ping-probe

References

Summary

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