How To Install libtest2-asyncsubtest-perl on Debian 9
Introduction
In this tutorial we learn how to install libtest2-asyncsubtest-perl
on Debian 9.
What is libtest2-asyncsubtest-perl
libtest2-asyncsubtest-perl is:
Regular subtests have a limited scope, they start, events are generated, then they close and send an Test2::Event::Subtest event. This is a problem if you want the subtest to keep receiving events while other events are also being generated. Test2::AsyncSubtest implements subtests that stay pen until you decide to close them.
This is mainly useful for tools that start a subtest in one process or thread and then spawn children. In many cases it is nice to let the parent process continue instead of waiting on the children.
There are three methods to install libtest2-asyncsubtest-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-asyncsubtest-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-asyncsubtest-perl
using apt-get
by running the following command:
sudo apt-get -y install libtest2-asyncsubtest-perl
Install libtest2-asyncsubtest-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtest2-asyncsubtest-perl
using apt
by running the following command:
sudo apt -y install libtest2-asyncsubtest-perl
Install libtest2-asyncsubtest-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-asyncsubtest-perl
using aptitude
by running the following command:
sudo aptitude -y install libtest2-asyncsubtest-perl
How To Uninstall libtest2-asyncsubtest-perl on Debian 9
To uninstall only the libtest2-asyncsubtest-perl
package we can use the following command:
sudo apt-get remove libtest2-asyncsubtest-perl
Uninstall libtest2-asyncsubtest-perl And Its Dependencies
To uninstall libtest2-asyncsubtest-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libtest2-asyncsubtest-perl
Remove libtest2-asyncsubtest-perl Configurations and Data
To remove libtest2-asyncsubtest-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libtest2-asyncsubtest-perl
Remove libtest2-asyncsubtest-perl configuration, data, and all of its dependencies
We can use the following command to remove libtest2-asyncsubtest-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtest2-asyncsubtest-perl
Dependencies
libtest2-asyncsubtest-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtest2-asyncsubtest-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.