How To Install libtest2-workflow-perl on Debian 9
Introduction
In this tutorial we learn how to install libtest2-workflow-perl on Debian 9.
What is libtest2-workflow-perl
libtest2-workflow-perl is:
A test workflow is a way of structuring tests using composable units. A well known example of a test workflow is RSPEC http://rspec.info/. RSPEC is implemented using Test2::Workflow in Test2::Tools::Spec along with several extensions.
There are three methods to install libtest2-workflow-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libtest2-workflow-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libtest2-workflow-perl using apt-get by running the following command:
sudo apt-get -y install libtest2-workflow-perl
Install libtest2-workflow-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libtest2-workflow-perl using apt by running the following command:
sudo apt -y install libtest2-workflow-perl
Install libtest2-workflow-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libtest2-workflow-perl using aptitude by running the following command:
sudo aptitude -y install libtest2-workflow-perl
How To Uninstall libtest2-workflow-perl on Debian 9
To uninstall only the libtest2-workflow-perl package we can use the following command:
sudo apt-get remove libtest2-workflow-perl
Uninstall libtest2-workflow-perl And Its Dependencies
To uninstall libtest2-workflow-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libtest2-workflow-perl
Remove libtest2-workflow-perl Configurations and Data
To remove libtest2-workflow-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libtest2-workflow-perl
Remove libtest2-workflow-perl configuration, data, and all of its dependencies
We can use the following command to remove libtest2-workflow-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtest2-workflow-perl
Dependencies
libtest2-workflow-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtest2-workflow-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.