How To Install erlang-folsom-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install erlang-folsom-dev
on Ubuntu 22.04.
What is erlang-folsom-dev
erlang-folsom-dev 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.
This package includes erlang-folsom headers which are necessary to build Erlang applications which use erlang-folsom.
There are three methods to install erlang-folsom-dev
on Ubuntu 22.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 erlang-folsom-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install erlang-folsom-dev
Install erlang-folsom-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install erlang-folsom-dev
using apt
by running the following command:
sudo apt -y install erlang-folsom-dev
Install erlang-folsom-dev 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 erlang-folsom-dev
using aptitude
by running the following command:
sudo aptitude -y install erlang-folsom-dev
How To Uninstall erlang-folsom-dev on Ubuntu 22.04
To uninstall only the erlang-folsom-dev
package we can use the following command:
sudo apt-get remove erlang-folsom-dev
Uninstall erlang-folsom-dev And Its Dependencies
To uninstall erlang-folsom-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove erlang-folsom-dev
Remove erlang-folsom-dev Configurations and Data
To remove erlang-folsom-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge erlang-folsom-dev
Remove erlang-folsom-dev configuration, data, and all of its dependencies
We can use the following command to remove erlang-folsom-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge erlang-folsom-dev
References
Summary
In this tutorial we learn how to install erlang-folsom-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.