How To Install erlang-horse on Debian 12
Introduction
In this tutorial we learn how to install erlang-horse
on Debian 12.
What is erlang-horse
erlang-horse is:
Horse is designed to provide quick feedback on the performance of units of code, for example a function or a group of functions.
Horse works in a manner similar to the eunit
application: it
will export automatically all the performance test functions,
run them one after another and give you a convenient report.
There are three methods to install erlang-horse
on Debian 12. 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-horse 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-horse
using apt-get
by running the following command:
sudo apt-get -y install erlang-horse
Install erlang-horse Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install erlang-horse
using apt
by running the following command:
sudo apt -y install erlang-horse
Install erlang-horse 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install erlang-horse
using aptitude
by running the following command:
sudo aptitude -y install erlang-horse
How To Uninstall erlang-horse on Debian 12
To uninstall only the erlang-horse
package we can use the following command:
sudo apt-get remove erlang-horse
Uninstall erlang-horse And Its Dependencies
To uninstall erlang-horse
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove erlang-horse
Remove erlang-horse Configurations and Data
To remove erlang-horse
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge erlang-horse
Remove erlang-horse configuration, data, and all of its dependencies
We can use the following command to remove erlang-horse
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge erlang-horse
Dependencies
erlang-horse have the following dependencies:
References
Summary
In this tutorial we learn how to install erlang-horse
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.