How To Install libfennec-perl on Ubuntu 18.04

In this tutorial we learn how to install libfennec-perl on Ubuntu 18.04. libfennec-perl is Perl module providing RSPEC, Workflows, Parallelization, and Encapsulation

Introduction

In this tutorial we learn how to install libfennec-perl on Ubuntu 18.04.

What is libfennec-perl

libfennec-perl is:

Fennec started as a project to improve the state of testing in Perl. Fennec looks to existing solutions for most problems, so long as the existing solutions help meet the features listed below:

  • You can fork, and run assertions (tests) in both processes,
  • Encapsulated test groups can be run individually, without running the entire file,
  • Tests groups can be sorted, randomized, or sorted via a custom method,
  • Fennec is compatible with Test::Builder based tools,
  • Test::Builder2 supportis in-place, but experimental,
  • Fennec is configurable to work on alternatives to Test::Builder,
  • You do not need to put anything such as done_testing() at the end of your test file,
  • You do not need to worry about test counts,
  • Diagnostic messages are grouped with the failed test.

There are three methods to install libfennec-perl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libfennec-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 libfennec-perl using apt-get by running the following command:

sudo apt-get -y install libfennec-perl

Install libfennec-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfennec-perl

Install libfennec-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libfennec-perl using aptitude by running the following command:

sudo aptitude -y install libfennec-perl

How To Uninstall libfennec-perl on Ubuntu 18.04

To uninstall only the libfennec-perl package we can use the following command:

sudo apt-get remove libfennec-perl

Uninstall libfennec-perl And Its Dependencies

To uninstall libfennec-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libfennec-perl

Remove libfennec-perl Configurations and Data

To remove libfennec-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfennec-perl

Remove libfennec-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfennec-perl

References

Summary

In this tutorial we learn how to install libfennec-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.