How To Install libpgobject-simple-role-perl on Debian 10

Learn how to install libpgobject-simple-role-perl on Debian 10 with this tutorial. libpgobject-simple-role-perl is Moo/Moose mappers for minimalist PGObject framework

Introduction

In this tutorial we learn how to install libpgobject-simple-role-perl on Debian 10.

What is libpgobject-simple-role-perl

libpgobject-simple-role-perl is:

PGObject::Simple::Role is a Moo/Moose mapper for minimalist PGObject framework (embodied in PGObject::Simple). Basically it provides a way to easily map stored procedures using the conventions of PGObject::Simple for Moo/Moose environments, allowing you to use that functionality in those environments. The role itself makes no assumptions about database state, but provides hooks for classes to use to retrieve or create database handles for their use.

This module is suited to quick and easy integration of PostgreSQL stored procedures with Moo and Moose object models. It is quite powerful and it makes developing in such environments relatively easy.

There are three methods to install libpgobject-simple-role-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-simple-role-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-simple-role-perl using apt-get by running the following command:

sudo apt-get -y install libpgobject-simple-role-perl

Install libpgobject-simple-role-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpgobject-simple-role-perl using apt by running the following command:

sudo apt -y install libpgobject-simple-role-perl

Install libpgobject-simple-role-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-simple-role-perl using aptitude by running the following command:

sudo aptitude -y install libpgobject-simple-role-perl

How To Uninstall libpgobject-simple-role-perl on Debian 10

To uninstall only the libpgobject-simple-role-perl package we can use the following command:

sudo apt-get remove libpgobject-simple-role-perl

Uninstall libpgobject-simple-role-perl And Its Dependencies

To uninstall libpgobject-simple-role-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libpgobject-simple-role-perl

Remove libpgobject-simple-role-perl Configurations and Data

To remove libpgobject-simple-role-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libpgobject-simple-role-perl

Remove libpgobject-simple-role-perl configuration, data, and all of its dependencies

We can use the following command to remove libpgobject-simple-role-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpgobject-simple-role-perl

Dependencies

libpgobject-simple-role-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libpgobject-simple-role-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.