How To Install libghc-harp-dev on Kali Linux
Introduction
In this tutorial we learn how to install libghc-harp-dev
on Kali Linux.
What is libghc-harp-dev
libghc-harp-dev is:
HaRP, or Haskell Regular Patterns, is a Haskell extension that extends the normal pattern matching facility, allowing the user to match against regular expressions. This expressive power is highly useful in a wide range of areas, including text parsing and XML processing. Regular expression patterns in HaRP work over ordinary Haskell lists ([]) of arbitrary type. HaRP is implemented as a pre-processor to ordinary Haskell.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-harp-dev
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-harp-dev 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-harp-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-harp-dev
Install libghc-harp-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-harp-dev
using apt
by running the following command:
sudo apt -y install libghc-harp-dev
Install libghc-harp-dev 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-harp-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-harp-dev
How To Uninstall libghc-harp-dev on Kali Linux
To uninstall only the libghc-harp-dev
package we can use the following command:
sudo apt-get remove libghc-harp-dev
Uninstall libghc-harp-dev And Its Dependencies
To uninstall libghc-harp-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-harp-dev
Remove libghc-harp-dev Configurations and Data
To remove libghc-harp-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-harp-dev
Remove libghc-harp-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-harp-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-harp-dev
Dependencies
libghc-harp-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-harp-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.