How To Install libclass-dbi-fromcgi-perl on Kali Linux
Introduction
In this tutorial we learn how to install libclass-dbi-fromcgi-perl
on Kali Linux.
What is libclass-dbi-fromcgi-perl
libclass-dbi-fromcgi-perl is:
Lots of times, Class::DBI is used in web-based applications. (In fact, coupled with a templating system that allows you to pass objects, such as Template::Toolkit, Class::DBI is very much your friend for these.)
One of the most irritating things about writing web-based applications is the monotony of writing much of the same stuff over and over again. And, where there’s monotony there’s a tendency to skip over stuff that is really important, but is a pain to write - like Taint Checking and sensible input validation. (Especially as you can still show a ‘working’ application without it!). CGI::Untaint can take care of a lot of that for us.
It so happens that CGI::Untaint also plays well with Class::DBI. All you need to do is to ‘use Class::DBI::FromCGI’ in your class (or in your local Class::DBI subclass that all your other classes inherit from. You do that, don’t you?).
There are three methods to install libclass-dbi-fromcgi-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 libclass-dbi-fromcgi-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 libclass-dbi-fromcgi-perl
using apt-get
by running the following command:
sudo apt-get -y install libclass-dbi-fromcgi-perl
Install libclass-dbi-fromcgi-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libclass-dbi-fromcgi-perl
using apt
by running the following command:
sudo apt -y install libclass-dbi-fromcgi-perl
Install libclass-dbi-fromcgi-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 libclass-dbi-fromcgi-perl
using aptitude
by running the following command:
sudo aptitude -y install libclass-dbi-fromcgi-perl
How To Uninstall libclass-dbi-fromcgi-perl on Kali Linux
To uninstall only the libclass-dbi-fromcgi-perl
package we can use the following command:
sudo apt-get remove libclass-dbi-fromcgi-perl
Uninstall libclass-dbi-fromcgi-perl And Its Dependencies
To uninstall libclass-dbi-fromcgi-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libclass-dbi-fromcgi-perl
Remove libclass-dbi-fromcgi-perl Configurations and Data
To remove libclass-dbi-fromcgi-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libclass-dbi-fromcgi-perl
Remove libclass-dbi-fromcgi-perl configuration, data, and all of its dependencies
We can use the following command to remove libclass-dbi-fromcgi-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclass-dbi-fromcgi-perl
Dependencies
libclass-dbi-fromcgi-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libclass-dbi-fromcgi-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.