How To Install libpgobject-simple-perl on Kali Linux
Introduction
In this tutorial we learn how to install libpgobject-simple-perl on Kali Linux.
What is libpgobject-simple-perl
libpgobject-simple-perl is:
PGObject::Simple is a minimalist framework for mapping stored procedures in PostgreSQL to object methods. The framework is truly minimalist and hence the “Simple” designation (in fact the module contains less than 50 lines of code, and the code is dwarfed by both POD and test cases). It is intended to be of use for developers wishing for such a minimalist framework and those who may want to have a reference for how to build such a mapping framework themselves.
The framework lends itself to a few specific antipatterns. Objects can become ill-formed, overly nebulous, or the like. It is thus very important when using this for actual development to ensure that acceptable data structures are well documented and that these are adhered to.
This module is based on a simple idea, namely that stored procedures can tell application classes how to call them. See the POD for specific information and guidelines.
There are three methods to install libpgobject-simple-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 libpgobject-simple-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libpgobject-simple-perl using apt-get by running the following command:
sudo apt-get -y install libpgobject-simple-perlInstall libpgobject-simple-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libpgobject-simple-perl using apt by running the following command:
sudo apt -y install libpgobject-simple-perlInstall libpgobject-simple-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 updateAfter updating apt database, We can install libpgobject-simple-perl using aptitude by running the following command:
sudo aptitude -y install libpgobject-simple-perlHow To Uninstall libpgobject-simple-perl on Kali Linux
To uninstall only the libpgobject-simple-perl package we can use the following command:
sudo apt-get remove libpgobject-simple-perlUninstall libpgobject-simple-perl And Its Dependencies
To uninstall libpgobject-simple-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libpgobject-simple-perlRemove libpgobject-simple-perl Configurations and Data
To remove libpgobject-simple-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libpgobject-simple-perlRemove libpgobject-simple-perl configuration, data, and all of its dependencies
We can use the following command to remove libpgobject-simple-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpgobject-simple-perlDependencies
libpgobject-simple-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libpgobject-simple-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.