How To Install libghc-fclabels-prof on Kali Linux
Introduction
In this tutorial we learn how to install libghc-fclabels-prof
on Kali Linux.
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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux
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 Kali Linux, 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 Kali Linux 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-fclabels-dev
- libghc-base-prof-4.13.0.0-2f220
- libghc-base-orphans-prof-0.8.2-50da5
- libghc-mtl-prof-2.2.2-7208c
- libghc-template-haskell-prof-2.15.0.0-80f0d
- libghc-transformers-prof-0.5.6.2-59c2c
References
Summary
In this tutorial we learn how to install libghc-fclabels-prof
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.