How To Install libtest-bdd-cucumber-perl on Debian 9

In this tutorial we learn how to install libtest-bdd-cucumber-perl on Debian 9. libtest-bdd-cucumber-perl is Cucumber-style acceptance testing framework in Perl

Introduction

In this tutorial we learn how to install libtest-bdd-cucumber-perl on Debian 9.

What is libtest-bdd-cucumber-perl

libtest-bdd-cucumber-perl is:

Behavioral testing tools like Cucumber let software development teams describe in plain text how software should behave. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid - all rolled into one format.

Test::BDD::Cucumber aims to be a sane and complete Cucumber implementation in Perl.

Test::BDD::Cucumber is not feature-complete yet. However, in almost all cases, where the behaviour of this module is different from the real Cucumber, the plan is to move it to be more similar to that.

There are three methods to install libtest-bdd-cucumber-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 libtest-bdd-cucumber-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 libtest-bdd-cucumber-perl using apt-get by running the following command:

sudo apt-get -y install libtest-bdd-cucumber-perl

Install libtest-bdd-cucumber-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtest-bdd-cucumber-perl using apt by running the following command:

sudo apt -y install libtest-bdd-cucumber-perl

Install libtest-bdd-cucumber-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 libtest-bdd-cucumber-perl using aptitude by running the following command:

sudo aptitude -y install libtest-bdd-cucumber-perl

How To Uninstall libtest-bdd-cucumber-perl on Debian 9

To uninstall only the libtest-bdd-cucumber-perl package we can use the following command:

sudo apt-get remove libtest-bdd-cucumber-perl

Uninstall libtest-bdd-cucumber-perl And Its Dependencies

To uninstall libtest-bdd-cucumber-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libtest-bdd-cucumber-perl

Remove libtest-bdd-cucumber-perl Configurations and Data

To remove libtest-bdd-cucumber-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libtest-bdd-cucumber-perl

Remove libtest-bdd-cucumber-perl configuration, data, and all of its dependencies

We can use the following command to remove libtest-bdd-cucumber-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libtest-bdd-cucumber-perl

Dependencies

libtest-bdd-cucumber-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libtest-bdd-cucumber-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.