How To Install libhugs-hunit-bundled on Kali Linux

In this tutorial we learn how to install libhugs-hunit-bundled on Kali Linux. libhugs-hunit-bundled is A unit testing framework for Haskell

Introduction

In this tutorial we learn how to install libhugs-hunit-bundled on Kali Linux.

What is libhugs-hunit-bundled

libhugs-hunit-bundled is:

HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java, see: http://www.junit.org.

This is the version bundled with the interpreter.

There are three methods to install libhugs-hunit-bundled 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 libhugs-hunit-bundled Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libhugs-hunit-bundled using apt-get by running the following command:

sudo apt-get -y install libhugs-hunit-bundled

Install libhugs-hunit-bundled Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libhugs-hunit-bundled using apt by running the following command:

sudo apt -y install libhugs-hunit-bundled

Install libhugs-hunit-bundled 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 libhugs-hunit-bundled using aptitude by running the following command:

sudo aptitude -y install libhugs-hunit-bundled

How To Uninstall libhugs-hunit-bundled on Kali Linux

To uninstall only the libhugs-hunit-bundled package we can use the following command:

sudo apt-get remove libhugs-hunit-bundled

Uninstall libhugs-hunit-bundled And Its Dependencies

To uninstall libhugs-hunit-bundled and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libhugs-hunit-bundled

Remove libhugs-hunit-bundled Configurations and Data

To remove libhugs-hunit-bundled configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libhugs-hunit-bundled

Remove libhugs-hunit-bundled configuration, data, and all of its dependencies

We can use the following command to remove libhugs-hunit-bundled configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libhugs-hunit-bundled

Dependencies

libhugs-hunit-bundled have the following dependencies:

References

Summary

In this tutorial we learn how to install libhugs-hunit-bundled package on Kali Linux using different package management tools: apt, apt-get and aptitude.