How To Install mon on Kali Linux
Introduction
In this tutorial we learn how to install mon on Kali Linux.
What is mon
mon is:
“mon” is a tool for monitoring the availability of services. Services may be network-related, environmental conditions, or anything that can be tested with software. If a service is unavailable mon can tell you with syslog, email, your pager or a script of your choice. You can control who gets each alert based on the time of day or day of week, and you can control how often an existing problem is re-alerted.
More information can be found at http://mon.wiki.kernel.org
There are three methods to install mon 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 mon Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mon using apt-get by running the following command:
sudo apt-get -y install monInstall mon Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mon using apt by running the following command:
sudo apt -y install monInstall mon 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 updateAfter updating apt database, We can install mon using aptitude by running the following command:
sudo aptitude -y install monHow To Uninstall mon on Kali Linux
To uninstall only the mon package we can use the following command:
sudo apt-get remove monUninstall mon And Its Dependencies
To uninstall mon and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove monRemove mon Configurations and Data
To remove mon configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge monRemove mon configuration, data, and all of its dependencies
We can use the following command to remove mon configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge monDependencies
mon have the following dependencies:
References
Summary
In this tutorial we learn how to install mon package on Kali Linux using different package management tools: apt, apt-get and aptitude.