How To Install libghc-fclabels-prof on Debian 12
Introduction
In this tutorial we learn how to install libghc-fclabels-prof
on Debian 12.
What is libghc-fclabels-prof
libghc-fclabels-prof is:
This package provides first class labels that can act as bidirectional record fields. The labels can be derived automatically using Template Haskell which means you don’t have to write any boilerplate yourself. The labels are implemented as lenses and are fully composable. Labels can be used to /get/, /set/ and /modify/ parts of a datatype in a consistent way.
See “Data.Label” for an introductory explanation.
Internally lenses are not tied to Haskell functions directly, but are implemented as arrows. Arrows allow the lenses to be run in custom computational contexts. This approach allows us to make partial lenses that point to fields of multi-constructor datatypes in an elegant way.
See the “Data.Label.Maybe” module for the use of partial labels.
1.1.1.0 -> 1.1.2
- Added partial set/modify versions that act as identity when the constructor field is not available.
Author: Sebastiaan Visser, Erik Hesselink, Chris Eidhof, Sjoerd Visscher with lots of help and feedback from others. Upstream-Maintainer: Sebastiaan Visser [email protected]
This package contains the libraries compiled with profiling enabled.
There are three methods to install libghc-fclabels-prof
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-fclabels-prof 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-fclabels-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-fclabels-prof
Install libghc-fclabels-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-fclabels-prof
using apt
by running the following command:
sudo apt -y install libghc-fclabels-prof
Install libghc-fclabels-prof 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-fclabels-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-fclabels-prof
How To Uninstall libghc-fclabels-prof on Debian 12
To uninstall only the libghc-fclabels-prof
package we can use the following command:
sudo apt-get remove libghc-fclabels-prof
Uninstall libghc-fclabels-prof And Its Dependencies
To uninstall libghc-fclabels-prof
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libghc-fclabels-prof
Remove libghc-fclabels-prof Configurations and Data
To remove libghc-fclabels-prof
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libghc-fclabels-prof
Remove libghc-fclabels-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-fclabels-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-fclabels-prof
Dependencies
libghc-fclabels-prof have the following dependencies:
- libghc-base-orphans-prof-0.8.7-b5f1f
- libghc-base-prof-4.15.1.0-6a406
- libghc-fclabels-dev
- libghc-mtl-prof-2.2.2-e3bae
- libghc-template-haskell-prof-2.17.0.0-7274a
- libghc-transformers-prof-0.5.6.2-fc6f3
References
Summary
In this tutorial we learn how to install libghc-fclabels-prof
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.