How To Install libghc-wl-pprint-extras-dev on Debian 10
Introduction
In this tutorial we learn how to install libghc-wl-pprint-extras-dev
on Debian 10.
What is libghc-wl-pprint-extras-dev
libghc-wl-pprint-extras-dev is:
This is an implementation of the pretty printing combinators described by Philip Wadler (1997). In their bare essence, the combinators of Wadler are not expressive enough to describe some commonly occurring layouts. The PPrint library adds new primitives to describe these layouts and works well in practice.
The library is based on a single way to concatenate documents, which is associative and has both a left and right unit. This simple design leads to an efficient and short implementation. The simplicity is reflected in the predictable behaviour of the combinators which make them easy to use in practice.
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-wl-pprint-extras-dev
on Debian 10. 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-wl-pprint-extras-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-wl-pprint-extras-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-wl-pprint-extras-dev
Install libghc-wl-pprint-extras-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-wl-pprint-extras-dev
using apt
by running the following command:
sudo apt -y install libghc-wl-pprint-extras-dev
Install libghc-wl-pprint-extras-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-wl-pprint-extras-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-wl-pprint-extras-dev
How To Uninstall libghc-wl-pprint-extras-dev on Debian 10
To uninstall only the libghc-wl-pprint-extras-dev
package we can use the following command:
sudo apt-get remove libghc-wl-pprint-extras-dev
Uninstall libghc-wl-pprint-extras-dev And Its Dependencies
To uninstall libghc-wl-pprint-extras-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libghc-wl-pprint-extras-dev
Remove libghc-wl-pprint-extras-dev Configurations and Data
To remove libghc-wl-pprint-extras-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libghc-wl-pprint-extras-dev
Remove libghc-wl-pprint-extras-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-wl-pprint-extras-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-wl-pprint-extras-dev
Dependencies
libghc-wl-pprint-extras-dev have the following dependencies:
- libghc-base-dev-4.11.1.0-5dd74
- libghc-containers-dev-0.5.11.0-e0faa
- libghc-semigroupoids-dev-5.2.2-4dfef
- libghc-semigroups-dev-0.18.5-df031
- libghc-text-dev-1.2.3.1-30bbe
- libghc-utf8-string-dev-1.0.1.1-cc7cb
- libatomic1
- libc6
- libgmp10
References
Summary
In this tutorial we learn how to install libghc-wl-pprint-extras-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.