How To Install erlang-folsom on Kali Linux
Introduction
In this tutorial we learn how to install erlang-folsom on Kali Linux.
What is erlang-folsom
erlang-folsom is:
Folsom is an Erlang based metrics system inspired by Coda Hale’s metrics (https://github.com/codahale/metrics/). The metrics API’s purpose is to collect realtime metrics from your Erlang applications and publish them via Erlang APIs and output plugins. folsom is not a persistent store. There are 6 types of metrics: counters, gauges, histograms (and timers), histories, meter_readers and meters. Metrics can be created, read and updated via the
folsom_metricsmodule.
There are three methods to install erlang-folsom 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 erlang-folsom Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install erlang-folsom using apt-get by running the following command:
sudo apt-get -y install erlang-folsomInstall erlang-folsom Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install erlang-folsom using apt by running the following command:
sudo apt -y install erlang-folsomInstall erlang-folsom 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 erlang-folsom using aptitude by running the following command:
sudo aptitude -y install erlang-folsomHow To Uninstall erlang-folsom on Kali Linux
To uninstall only the erlang-folsom package we can use the following command:
sudo apt-get remove erlang-folsomUninstall erlang-folsom And Its Dependencies
To uninstall erlang-folsom and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove erlang-folsomRemove erlang-folsom Configurations and Data
To remove erlang-folsom configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge erlang-folsomRemove erlang-folsom configuration, data, and all of its dependencies
We can use the following command to remove erlang-folsom configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge erlang-folsomDependencies
erlang-folsom have the following dependencies:
References
Summary
In this tutorial we learn how to install erlang-folsom package on Kali Linux using different package management tools: apt, apt-get and aptitude.