How To Install libghc-tasty-expected-failure-dev on Kali Linux

In this tutorial we learn how to install libghc-tasty-expected-failure-dev on Kali Linux. libghc-tasty-expected-failure-dev is mark tasty tests as failure-expected

Introduction

In this tutorial we learn how to install libghc-tasty-expected-failure-dev on Kali Linux.

What is libghc-tasty-expected-failure-dev

libghc-tasty-expected-failure-dev is:

With the function ’expectFail’ in the provided module Test.Tasty.ExpectedFailure, you can mark that you expect test cases to fail, and not to pass.

This can for example be used for test-driven development: Create the tests, mark them with ‘Test.Tasty.ExpectedFailure.expectFail’, and you can still push to the main branch, without your continuous integration branch failing.

Once someone implements the feature or fixes the bug (maybe unknowingly), the test suite will tell him so, due to the now unexpectedly passing test, and he can remove the ‘Test.Tasty.ExpectedFailure.expectFail’ marker.

The module also provides ‘Test.Tasty.ExpectedFailure.ignoreTest’ to avoid running a test. Both functions are implemented via the more general ‘Test.Tasty.ExpectedFailure.wrapTest’, which is also provided.

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-tasty-expected-failure-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-tasty-expected-failure-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-tasty-expected-failure-dev using apt-get by running the following command:

sudo apt-get -y install libghc-tasty-expected-failure-dev

Install libghc-tasty-expected-failure-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-tasty-expected-failure-dev using apt by running the following command:

sudo apt -y install libghc-tasty-expected-failure-dev

Install libghc-tasty-expected-failure-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-tasty-expected-failure-dev using aptitude by running the following command:

sudo aptitude -y install libghc-tasty-expected-failure-dev

How To Uninstall libghc-tasty-expected-failure-dev on Kali Linux

To uninstall only the libghc-tasty-expected-failure-dev package we can use the following command:

sudo apt-get remove libghc-tasty-expected-failure-dev

Uninstall libghc-tasty-expected-failure-dev And Its Dependencies

To uninstall libghc-tasty-expected-failure-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libghc-tasty-expected-failure-dev

Remove libghc-tasty-expected-failure-dev Configurations and Data

To remove libghc-tasty-expected-failure-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libghc-tasty-expected-failure-dev

Remove libghc-tasty-expected-failure-dev configuration, data, and all of its dependencies

We can use the following command to remove libghc-tasty-expected-failure-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-tasty-expected-failure-dev

Dependencies

libghc-tasty-expected-failure-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libghc-tasty-expected-failure-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.