How To Install haskell-devscripts-minimal on Kali Linux
Introduction
In this tutorial we learn how to install haskell-devscripts-minimal on Kali Linux.
What is haskell-devscripts-minimal
haskell-devscripts-minimal is:
This package provides a collection of scripts to help build Haskell packages for Debian. Unlike haskell-utils, this package is not expected to be installed on the machines of end users.
This package is designed to support Cabalized Haskell libraries. It is designed to build a library for each supported Debian compiler or interpreter, generate appropriate postinst/prerm files for each one, generate appropriate substvars entries for each one, and install the package in the Debian temporary area as part of the build process.
This package doesn’t provide functionality for generating coloured documentation and is mostly intended for bootstrapping a new architecture. If you want coloured documentation, use haskell-devscripts.
There are three methods to install haskell-devscripts-minimal 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 haskell-devscripts-minimal Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install haskell-devscripts-minimal using apt-get by running the following command:
sudo apt-get -y install haskell-devscripts-minimalInstall haskell-devscripts-minimal Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install haskell-devscripts-minimal using apt by running the following command:
sudo apt -y install haskell-devscripts-minimalInstall haskell-devscripts-minimal 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 haskell-devscripts-minimal using aptitude by running the following command:
sudo aptitude -y install haskell-devscripts-minimalHow To Uninstall haskell-devscripts-minimal on Kali Linux
To uninstall only the haskell-devscripts-minimal package we can use the following command:
sudo apt-get remove haskell-devscripts-minimalUninstall haskell-devscripts-minimal And Its Dependencies
To uninstall haskell-devscripts-minimal and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove haskell-devscripts-minimalRemove haskell-devscripts-minimal Configurations and Data
To remove haskell-devscripts-minimal configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge haskell-devscripts-minimalRemove haskell-devscripts-minimal configuration, data, and all of its dependencies
We can use the following command to remove haskell-devscripts-minimal configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge haskell-devscripts-minimalDependencies
haskell-devscripts-minimal have the following dependencies:
References
Summary
In this tutorial we learn how to install haskell-devscripts-minimal package on Kali Linux using different package management tools: apt, apt-get and aptitude.