How To Install hugs on Kali Linux
Introduction
In this tutorial we learn how to install hugs on Kali Linux.
What is hugs
hugs is:
Hugs is an interpreter for the non-strict, purely functional programming language Haskell. This version of Hugs, Hugs 98, supports nearly all of the Haskell 98 specification, as well as a number of extensions.
The Haskell language is described by documents in the haskell-doc package. Other libraries are documented in the ghc6-doc package.
There are three methods to install hugs 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 hugs Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install hugs using apt-get by running the following command:
sudo apt-get -y install hugsInstall hugs Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install hugs using apt by running the following command:
sudo apt -y install hugsInstall hugs 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 hugs using aptitude by running the following command:
sudo aptitude -y install hugsHow To Uninstall hugs on Kali Linux
To uninstall only the hugs package we can use the following command:
sudo apt-get remove hugsUninstall hugs And Its Dependencies
To uninstall hugs and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove hugsRemove hugs Configurations and Data
To remove hugs configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge hugsRemove hugs configuration, data, and all of its dependencies
We can use the following command to remove hugs configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hugsDependencies
hugs have the following dependencies:
References
Summary
In this tutorial we learn how to install hugs package on Kali Linux using different package management tools: apt, apt-get and aptitude.