How To Install libghc-edison-api-dev on Debian 9
Introduction
In this tutorial we learn how to install libghc-edison-api-dev
on Debian 9.
What is libghc-edison-api-dev
libghc-edison-api-dev is:
The abstract interface (API) of the Edison library for Haskell for use with ghc.
Edison is a library of purely function data structures for Haskell originally written by Chris Okasaki. Conceptually, it consists of two things:
- A set of type classes defining data the following data structure abstractions: ‘sequences’, ‘collections’ and ‘associative collections’
- Multiple concrete implementations of each of the abstractions
This package contains the set of type classes.
There are three methods to install libghc-edison-api-dev
on Debian 9. 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-edison-api-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-edison-api-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-edison-api-dev
Install libghc-edison-api-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-edison-api-dev
using apt
by running the following command:
sudo apt -y install libghc-edison-api-dev
Install libghc-edison-api-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-edison-api-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-edison-api-dev
How To Uninstall libghc-edison-api-dev on Debian 9
To uninstall only the libghc-edison-api-dev
package we can use the following command:
sudo apt-get remove libghc-edison-api-dev
Uninstall libghc-edison-api-dev And Its Dependencies
To uninstall libghc-edison-api-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libghc-edison-api-dev
Remove libghc-edison-api-dev Configurations and Data
To remove libghc-edison-api-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libghc-edison-api-dev
Remove libghc-edison-api-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-edison-api-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-edison-api-dev
Dependencies
libghc-edison-api-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-edison-api-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.