How To Install libstruct-dumb-perl on Kali Linux
Introduction
In this tutorial we learn how to install libstruct-dumb-perl
on Kali Linux.
What is libstruct-dumb-perl
libstruct-dumb-perl is:
Struct::Dumb creates record-like structure types, similar to the struct keyword in C, C++ or C#, or Record in Pascal. An invocation of this module will create a construction function which returns new object references with the given field values. These references all respond to lvalue methods that access or modify the values stored.
It’s specifically and intentionally not meant to be an object class. You cannot subclass it. You cannot provide additional methods. You cannot apply roles or mixins or metaclasses or traits or antlers or whatever else is in fashion this week.
On the other hand, it is tiny, creates cheap lightweight array-backed structures, uses nothing outside of core. It’s intended simply to be a slightly nicer way to store data structures, where otherwise you might be tempted to abuse a hash, complete with the risk of typoing key names. The constructor will croak if passed the wrong number of arguments, as will attempts to refer to fields that don’t exist.
There are three methods to install libstruct-dumb-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 libstruct-dumb-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 libstruct-dumb-perl
using apt-get
by running the following command:
sudo apt-get -y install libstruct-dumb-perl
Install libstruct-dumb-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libstruct-dumb-perl
using apt
by running the following command:
sudo apt -y install libstruct-dumb-perl
Install libstruct-dumb-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 libstruct-dumb-perl
using aptitude
by running the following command:
sudo aptitude -y install libstruct-dumb-perl
How To Uninstall libstruct-dumb-perl on Kali Linux
To uninstall only the libstruct-dumb-perl
package we can use the following command:
sudo apt-get remove libstruct-dumb-perl
Uninstall libstruct-dumb-perl And Its Dependencies
To uninstall libstruct-dumb-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libstruct-dumb-perl
Remove libstruct-dumb-perl Configurations and Data
To remove libstruct-dumb-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libstruct-dumb-perl
Remove libstruct-dumb-perl configuration, data, and all of its dependencies
We can use the following command to remove libstruct-dumb-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstruct-dumb-perl
Dependencies
libstruct-dumb-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libstruct-dumb-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.