How To Install libghc-snap-core-prof on Kali Linux
Introduction
In this tutorial we learn how to install libghc-snap-core-prof on Kali Linux.
What is libghc-snap-core-prof
libghc-snap-core-prof is:
Snap is a simple and fast web development framework and server written in Haskell. For more information or to download the latest version, you can visit the Snap project website at http://snapframework.com/.
This library contains the core definitions and types for the Snap framework, including:
Primitive types and functions for HTTP (requests, responses, cookies, post/query parameters, etc)
Type aliases and helper functions for Iteratee I/O
A monad for programming web handlers called "Snap", inspired by happstack’s (http://happstack.com/index.html), which allows:
o Stateful access to the HTTP request and response objects
o Monadic failure (i.e. MonadPlus/Alternative instances) for declining to handle requests and chaining handlers together
o Early termination of the computation if you know early what you want to return and want to prevent further monadic processing
This package contains the libraries compiled with profiling enabled.
There are three methods to install libghc-snap-core-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-snap-core-prof Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libghc-snap-core-prof using apt-get by running the following command:
sudo apt-get -y install libghc-snap-core-profInstall libghc-snap-core-prof Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libghc-snap-core-prof using apt by running the following command:
sudo apt -y install libghc-snap-core-profInstall libghc-snap-core-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 updateAfter updating apt database, We can install libghc-snap-core-prof using aptitude by running the following command:
sudo aptitude -y install libghc-snap-core-profHow To Uninstall libghc-snap-core-prof on Kali Linux
To uninstall only the libghc-snap-core-prof package we can use the following command:
sudo apt-get remove libghc-snap-core-profUninstall libghc-snap-core-prof And Its Dependencies
To uninstall libghc-snap-core-prof and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-snap-core-profRemove libghc-snap-core-prof Configurations and Data
To remove libghc-snap-core-prof configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-snap-core-profRemove libghc-snap-core-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-snap-core-prof configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-snap-core-profDependencies
libghc-snap-core-prof have the following dependencies:
- libghc-snap-core-dev
- libghc-hunit-prof-1.6.0.0-8ef03
- libghc-attoparsec-prof-0.13.2.4-b0216
- libghc-base-prof-4.13.0.0-2f220
- libghc-bytestring-prof-0.10.10.1-c40ee
- libghc-case-insensitive-prof-1.2.1.0-677af
- libghc-containers-prof-0.6.2.1-ab1cf
- libghc-directory-prof-1.3.6.0-49fdf
- libghc-filepath-prof-1.4.2.1-103b6
- libghc-hashable-prof-1.3.0.0-d5f3c
- libghc-io-streams-prof-1.5.1.0-44489
- libghc-lifted-base-prof-0.2.3.12-b160e
- libghc-monad-control-prof-1.0.2.3-d0848
- libghc-mtl-prof-2.2.2-7208c
- libghc-network-prof-3.1.1.1-464ab
- libghc-network-uri-prof-2.6.3.0-a53be
- libghc-old-locale-prof-1.0.0.7-93114
- libghc-random-prof-1.1-523a8
- libghc-readable-prof-0.3.1-54bd1
- libghc-regex-posix-prof-0.96.0.0-f6ee8
- libghc-text-prof-1.2.4.0-a7a6e
- libghc-time-prof-1.9.3-1ee94
- libghc-transformers-prof-0.5.6.2-59c2c
- libghc-transformers-base-prof-0.4.5.2-ff438
- libghc-unix-compat-prof-0.5.2-0cbb9
- libghc-unordered-containers-prof-0.2.10.0-71273
- libghc-vector-prof-0.12.1.2-29734
References
Summary
In this tutorial we learn how to install libghc-snap-core-prof package on Kali Linux using different package management tools: apt, apt-get and aptitude.