How To Install mrtgutils-sensors on Debian 9
Introduction
In this tutorial we learn how to install mrtgutils-sensors
on Debian 9.
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 Debian 9. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 9
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 Debian 9, 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 Debian 9 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 Debian 9 using different package management tools: apt
, apt-get
and aptitude
.