Install libpg-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libpg-perl
Perl modules for PostgreSQL
This library enables Perl scripts to communicate with the PostgreSQL database backend. . Perl is a widely used scripting language, which is always installed in Debian systems.