How To Install libghc-criterion-prof on Kali Linux

In this tutorial we learn how to install libghc-criterion-prof on Kali Linux. libghc-criterion-prof is Robust, reliable performance measurement and analysis; profiling libraries

Introduction

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

What is libghc-criterion-prof

libghc-criterion-prof is:

This library provides a powerful but simple way to measure the performance of Haskell code. It provides both a framework for executing and analysing benchmarks and a set of driver functions that makes it easy to build and run benchmarks, and to analyse their results.

The fastest way to get started is to read the documentation and examples in the Criterion.Main module.

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-criterion-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-criterion-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-criterion-prof using apt-get by running the following command:

sudo apt-get -y install libghc-criterion-prof

Install libghc-criterion-prof Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-criterion-prof

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

sudo aptitude -y install libghc-criterion-prof

How To Uninstall libghc-criterion-prof on Kali Linux

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

sudo apt-get remove libghc-criterion-prof

Uninstall libghc-criterion-prof And Its Dependencies

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

sudo apt-get -y autoremove libghc-criterion-prof

Remove libghc-criterion-prof Configurations and Data

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

sudo apt-get -y purge libghc-criterion-prof

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

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

sudo apt-get -y autoremove --purge libghc-criterion-prof

Dependencies

libghc-criterion-prof have the following dependencies:

References

Summary

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