How To Install erlang-folsom on Kali Linux

In this tutorial we learn how to install erlang-folsom on Kali Linux. erlang-folsom is Erlang based metrics system inspired by Coda Hales metrics

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_metrics module.

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 update

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

sudo apt-get -y install erlang-folsom

Install erlang-folsom Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-folsom

Install 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 update

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

sudo aptitude -y install erlang-folsom

How 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-folsom

Uninstall 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-folsom

Remove 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-folsom

Remove 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-folsom

Dependencies

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.