How To Install libghc-basic-prelude-prof on Kali Linux

In this tutorial we learn how to install libghc-basic-prelude-prof on Kali Linux. libghc-basic-prelude-prof is enhanced core prelude; profiling libraries

Introduction

In this tutorial we learn how to install libghc-basic-prelude-prof on Kali Linux.

What is libghc-basic-prelude-prof

libghc-basic-prelude-prof is:

The premise of basic-prelude is that there are a lot of very commonly desired features missing from the standard Prelude, such as commonly used operators (<$> and >=>, for instance) and imports for common datatypes (e.g., ByteString and Vector). At the same time, there are lots of other components which are more debatable, such as providing polymorphic versions of common functions.

So basic-prelude is intended to give a common foundation for a number of alternate preludes. The package provides two modules: CorePrelude provides the common ground for other preludes to build on top of, while BasicPrelude exports CorePrelude together with commonly used list functions to provide a drop-in replacement for the standard Prelude.

Users wishing to have an improved Prelude can use BasicPrelude. Developers wishing to create a new prelude should use CorePrelude.

This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.

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

sudo apt-get -y install libghc-basic-prelude-prof

Install libghc-basic-prelude-prof Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-basic-prelude-prof using apt by running the following command:

sudo apt -y install libghc-basic-prelude-prof

Install libghc-basic-prelude-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-basic-prelude-prof using aptitude by running the following command:

sudo aptitude -y install libghc-basic-prelude-prof

How To Uninstall libghc-basic-prelude-prof on Kali Linux

To uninstall only the libghc-basic-prelude-prof package we can use the following command:

sudo apt-get remove libghc-basic-prelude-prof

Uninstall libghc-basic-prelude-prof And Its Dependencies

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

sudo apt-get -y autoremove libghc-basic-prelude-prof

Remove libghc-basic-prelude-prof Configurations and Data

To remove libghc-basic-prelude-prof configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libghc-basic-prelude-prof

Remove libghc-basic-prelude-prof configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libghc-basic-prelude-prof

Dependencies

libghc-basic-prelude-prof have the following dependencies:

References

Summary

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