How To Install libpgobject-perl on Debian 10
Introduction
In this tutorial we learn how to install libpgobject-perl
on Debian 10.
What is libpgobject-perl
libpgobject-perl is:
PGObject contains the base routines for object management using discoverable stored procedures in PostgreSQL databases. PGObject contains only common functionality and support structures, and low-level API’s. Most developers will want to use more functional modules which add to these functions.
The overall approach here is to provide the basics for a toolkit that other modules can extend. This is thus intended to be a component for building integration between PostgreSQL user defined functions and Perl objects.
Because decisions such as state handling are largely outside of the scope of this module, this module itself does not do any significant state handling. Database handles (using DBD::Pg 2.0 or later) must be passed in on every call. This decision was made in order to allow for diversity in this area, with the idea that wrapper classes would be written to implement this.
There are three methods to install libpgobject-perl
on Debian 10. 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-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 libpgobject-perl
using apt-get
by running the following command:
sudo apt-get -y install libpgobject-perl
Install libpgobject-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpgobject-perl
using apt
by running the following command:
sudo apt -y install libpgobject-perl
Install libpgobject-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libpgobject-perl
using aptitude
by running the following command:
sudo aptitude -y install libpgobject-perl
How To Uninstall libpgobject-perl on Debian 10
To uninstall only the libpgobject-perl
package we can use the following command:
sudo apt-get remove libpgobject-perl
Uninstall libpgobject-perl And Its Dependencies
To uninstall libpgobject-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libpgobject-perl
Remove libpgobject-perl Configurations and Data
To remove libpgobject-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libpgobject-perl
Remove libpgobject-perl configuration, data, and all of its dependencies
We can use the following command to remove libpgobject-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpgobject-perl
Dependencies
libpgobject-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libpgobject-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.