How To Install libghc-equivalence-dev on Debian 12
Introduction
In this tutorial we learn how to install libghc-equivalence-dev
on Debian 12.
What is libghc-equivalence-dev
libghc-equivalence-dev is:
This is a Haskell implementation of Tarjan’s Union-Find algorithm (Robert E. Tarjan. “Efficiency of a Good But Not Linear Set Union Algorithm”, JACM 22(2), 1975) in order to maintain an equivalence relation.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-equivalence-dev
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 libghc-equivalence-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 libghc-equivalence-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-equivalence-dev
Install libghc-equivalence-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-equivalence-dev
using apt
by running the following command:
sudo apt -y install libghc-equivalence-dev
Install libghc-equivalence-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libghc-equivalence-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-equivalence-dev
How To Uninstall libghc-equivalence-dev on Debian 12
To uninstall only the libghc-equivalence-dev
package we can use the following command:
sudo apt-get remove libghc-equivalence-dev
Uninstall libghc-equivalence-dev And Its Dependencies
To uninstall libghc-equivalence-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libghc-equivalence-dev
Remove libghc-equivalence-dev Configurations and Data
To remove libghc-equivalence-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libghc-equivalence-dev
Remove libghc-equivalence-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-equivalence-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-equivalence-dev
Dependencies
libghc-equivalence-dev have the following dependencies:
- libghc-base-dev-4.15.1.0-6a406
- libghc-containers-dev-0.6.4.1-31c3b
- libghc-mtl-dev-2.2.2-e3bae
- libghc-stmonadtrans-dev-0.4.6-5342c
- libghc-transformers-compat-dev-0.6.6-856c2
- libghc-transformers-dev-0.5.6.2-fc6f3
- libc6
- libgmp10
References
Summary
In this tutorial we learn how to install libghc-equivalence-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.