How To Install libspiffy-perl on Kali Linux
Introduction
In this tutorial we learn how to install libspiffy-perl
on Kali Linux.
What is libspiffy-perl
libspiffy-perl is:
“Spiffy” is a framework and methodology for doing object oriented (OO) programming in Perl. Spiffy combines the best parts of Exporter.pm, base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts to fix all the nits and warts of traditional Perl OO, in a clean, straightforward and (perhaps someday) standard way.
Spiffy borrows ideas from other OO languages like Python, Ruby, Java and Perl 6. It also adds a few tricks of its own.
If you take a look on CPAN, there are a ton of OO related modules. When starting a new project, you need to pick the set of modules that makes most sense, and then you need to use those modules in each of your classes. Spiffy, on the other hand, has everything you’ll probably need in one module, and you only need to use it once in one of your classes. If you make Spiffy.pm the base class of the basest class in your project, Spiffy will automatically pass all of its magic to all of your subclasses. You may eventually forget that you’re even using it!
There are three methods to install libspiffy-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 libspiffy-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 libspiffy-perl
using apt-get
by running the following command:
sudo apt-get -y install libspiffy-perl
Install libspiffy-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libspiffy-perl
using apt
by running the following command:
sudo apt -y install libspiffy-perl
Install libspiffy-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 libspiffy-perl
using aptitude
by running the following command:
sudo aptitude -y install libspiffy-perl
How To Uninstall libspiffy-perl on Kali Linux
To uninstall only the libspiffy-perl
package we can use the following command:
sudo apt-get remove libspiffy-perl
Uninstall libspiffy-perl And Its Dependencies
To uninstall libspiffy-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libspiffy-perl
Remove libspiffy-perl Configurations and Data
To remove libspiffy-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libspiffy-perl
Remove libspiffy-perl configuration, data, and all of its dependencies
We can use the following command to remove libspiffy-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libspiffy-perl
Dependencies
libspiffy-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libspiffy-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.