How To Install mrtgutils-sensors on Kali Linux

In this tutorial we learn how to install mrtgutils-sensors on Kali Linux. mrtgutils-sensors is Utilities to generate statistics for mrtg (from lm-sensors)

Introduction

In this tutorial we learn how to install mrtgutils-sensors on Kali Linux.

What is mrtgutils-sensors

mrtgutils-sensors is:

MRTGutils is a collection of simple utilities to generate output useful for mrtg. Many of the existing mrtg setups use shell or perl scripts to gather output. On busy systems, these scripts can generate a lot of extra load. These (small) C programs can return the given statistics more efficiently.

This package provides the binary mrtg-sensors that returns data sensors information from lm-sensors.

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

Install mrtgutils-sensors Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mrtgutils-sensors

Install mrtgutils-sensors Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mrtgutils-sensors

Install mrtgutils-sensors Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install mrtgutils-sensors

How To Uninstall mrtgutils-sensors on Kali Linux

To uninstall only the mrtgutils-sensors package we can use the following command:

sudo apt-get remove mrtgutils-sensors

Uninstall mrtgutils-sensors And Its Dependencies

To uninstall mrtgutils-sensors and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove mrtgutils-sensors

Remove mrtgutils-sensors Configurations and Data

To remove mrtgutils-sensors configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge mrtgutils-sensors

Remove mrtgutils-sensors configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mrtgutils-sensors

Dependencies

mrtgutils-sensors have the following dependencies:

References

Summary

In this tutorial we learn how to install mrtgutils-sensors package on Kali Linux using different package management tools: apt, apt-get and aptitude.