How To Install monitoring-plugins-common on Ubuntu 20.04
Introduction
In this tutorial we learn how to install monitoring-plugins-common on Ubuntu 20.04.
What is monitoring-plugins-common
monitoring-plugins-common is:
Common files for plugins for nagios compatible monitoring systems like Naemon and Icinga.
This package contains common files which maybe needed for plugins.
Package: monitoring-plugins-common Architecture: amd64 Version: 2.2-6ubuntu1 Priority: extra Section: universe/net Source: monitoring-plugins Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Nagios Maintainer Group [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 172 Depends: ucf, libc6 (>= 2.14) Suggests: icinga | icinga2 Filename: pool/universe/m/monitoring-plugins/monitoring-plugins-common_2.2-6ubuntu1_amd64.deb Size: 49968 MD5sum: b04102594ca9c4fc6fdd1b8ff50b2b99 SHA1: 854ca28a4bb238bfa6d30a580e60e96bd73de751 SHA256: 52813154d155f463285a530f84e7c376d54ec755c6f984510db1ac4bc461578f Homepage: https://www.monitoring-plugins.org Description-en: Common files for plugins for nagios compatible monitoring Common files for plugins for nagios compatible monitoring systems like Naemon and Icinga.
This package contains common files which maybe needed for plugins.
There are three methods to install monitoring-plugins-common on Ubuntu 20.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 monitoring-plugins-common Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install monitoring-plugins-common using apt-get by running the following command:
sudo apt-get -y install monitoring-plugins-common
Install monitoring-plugins-common Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install monitoring-plugins-common using apt by running the following command:
sudo apt -y install monitoring-plugins-common
Install monitoring-plugins-common 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 monitoring-plugins-common using aptitude by running the following command:
sudo aptitude -y install monitoring-plugins-common
How To Uninstall monitoring-plugins-common on Ubuntu 20.04
To uninstall only the monitoring-plugins-common package we can use the following command:
sudo apt-get remove monitoring-plugins-common
Uninstall monitoring-plugins-common And Its Dependencies
To uninstall monitoring-plugins-common and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove monitoring-plugins-common
Remove monitoring-plugins-common Configurations and Data
To remove monitoring-plugins-common configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge monitoring-plugins-common
Remove monitoring-plugins-common configuration, data, and all of its dependencies
We can use the following command to remove monitoring-plugins-common configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge monitoring-plugins-common
References
Summary
In this tutorial we learn how to install monitoring-plugins-common package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.