How To Install libghc-resourcet-prof on Kali Linux
Introduction
In this tutorial we learn how to install libghc-resourcet-prof
on Kali Linux.
What is libghc-resourcet-prof
libghc-resourcet-prof is:
Control.Monad.Trans.Resource allocates resources which are guaranteed to be released. One point to note: all register cleanup actions live in the IO monad, not the main monad. This allows both more efficient code, and for monads to be transformed.
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-resourcet-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-resourcet-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-resourcet-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-resourcet-prof
Install libghc-resourcet-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-resourcet-prof
using apt
by running the following command:
sudo apt -y install libghc-resourcet-prof
Install libghc-resourcet-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-resourcet-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-resourcet-prof
How To Uninstall libghc-resourcet-prof on Kali Linux
To uninstall only the libghc-resourcet-prof
package we can use the following command:
sudo apt-get remove libghc-resourcet-prof
Uninstall libghc-resourcet-prof And Its Dependencies
To uninstall libghc-resourcet-prof
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-resourcet-prof
Remove libghc-resourcet-prof Configurations and Data
To remove libghc-resourcet-prof
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-resourcet-prof
Remove libghc-resourcet-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-resourcet-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-resourcet-prof
Dependencies
libghc-resourcet-prof have the following dependencies:
- libghc-resourcet-dev
- libghc-base-prof-4.13.0.0-2f220
- libghc-containers-prof-0.6.2.1-ab1cf
- libghc-exceptions-prof-0.10.4-5a148
- libghc-mtl-prof-2.2.2-7208c
- libghc-primitive-prof-0.7.0.1-fc459
- libghc-transformers-prof-0.5.6.2-59c2c
- libghc-unliftio-core-prof-0.1.2.0-9e9d6
References
Summary
In this tutorial we learn how to install libghc-resourcet-prof
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.