How To Install libghc-fclabels-doc on Kali Linux

In this tutorial we learn how to install libghc-fclabels-doc on Kali Linux. libghc-fclabels-doc is first-class accessor labels; documentation

Introduction

In this tutorial we learn how to install libghc-fclabels-doc on Kali Linux.

What is libghc-fclabels-doc

libghc-fclabels-doc 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 documentation files.

There are three methods to install libghc-fclabels-doc 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install libghc-fclabels-doc

Install libghc-fclabels-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-fclabels-doc using apt by running the following command:

sudo apt -y install libghc-fclabels-doc

Install libghc-fclabels-doc 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-doc using aptitude by running the following command:

sudo aptitude -y install libghc-fclabels-doc

How To Uninstall libghc-fclabels-doc on Kali Linux

To uninstall only the libghc-fclabels-doc package we can use the following command:

sudo apt-get remove libghc-fclabels-doc

Uninstall libghc-fclabels-doc And Its Dependencies

To uninstall libghc-fclabels-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libghc-fclabels-doc

Remove libghc-fclabels-doc Configurations and Data

To remove libghc-fclabels-doc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libghc-fclabels-doc

Remove libghc-fclabels-doc configuration, data, and all of its dependencies

We can use the following command to remove libghc-fclabels-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-fclabels-doc

Dependencies

libghc-fclabels-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libghc-fclabels-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.