How To Install libfennec-perl on Kali Linux
Introduction
In this tutorial we learn how to install libfennec-perl
on Kali Linux.
What is libfennec-perl
libfennec-perl is:
Fennec has been deprecated in favor of Test2::Suite, specificaly Test2::Tools::Spec and Test2::Bundle::SpecDeclare.
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 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 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 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 libfennec-perl
using aptitude
by running the following command:
sudo aptitude -y install libfennec-perl
How To Uninstall libfennec-perl on Kali Linux
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 Kali Linux, 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 Kali Linux 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
Dependencies
libfennec-perl have the following dependencies:
- perl
- libchild-perl
- libexporter-declare-perl
- libmock-quick-perl
- libparallel-runner-perl
- libtest-exception-perl
- libtest-warn-perl
References
Summary
In this tutorial we learn how to install libfennec-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.