How To Install tasty-discover on Kali Linux

In this tutorial we learn how to install tasty-discover on Kali Linux. tasty-discover is Test discovery for the tasty framework.

Introduction

In this tutorial we learn how to install tasty-discover on Kali Linux.

What is tasty-discover

tasty-discover is:

Automatic test discovery and runner for the tasty framework. Prefix your test case names and tasty-discover will discover, collect and run them. All popular test libraries are covered. Configure once and then just write your tests. Avoid forgetting to add test modules to your Cabal/Hpack files. Tasty ingredients are included along with various configuration options for different use cases.

There are three methods to install tasty-discover 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 tasty-discover Using apt-get

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

sudo apt-get update

After updating apt database, We can install tasty-discover using apt-get by running the following command:

sudo apt-get -y install tasty-discover

Install tasty-discover Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tasty-discover using apt by running the following command:

sudo apt -y install tasty-discover

Install tasty-discover 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 tasty-discover using aptitude by running the following command:

sudo aptitude -y install tasty-discover

How To Uninstall tasty-discover on Kali Linux

To uninstall only the tasty-discover package we can use the following command:

sudo apt-get remove tasty-discover

Uninstall tasty-discover And Its Dependencies

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

sudo apt-get -y autoremove tasty-discover

Remove tasty-discover Configurations and Data

To remove tasty-discover configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge tasty-discover

Remove tasty-discover configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tasty-discover

Dependencies

tasty-discover have the following dependencies:

References

Summary

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