How to Install and Uninstall libdancer2-plugin-database-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "libdancer2-plugin-database-perl" package

Please follow the guidance below to install libdancer2-plugin-database-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libdancer2-plugin-database-perl

2. Uninstall "libdancer2-plugin-database-perl" package

Please follow the guidance below to uninstall libdancer2-plugin-database-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libdancer2-plugin-database-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdancer2-plugin-database-perl package on Ubuntu 21.10 (Impish Indri)

Package: libdancer2-plugin-database-perl
Architecture: all
Version: 2.17-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: perl, libdancer-plugin-database-core-perl (>= 0.16), libdancer2-perl (>= 0.166001)
Filename: pool/universe/libd/libdancer2-plugin-database-perl/libdancer2-plugin-database-perl_2.17-1_all.deb
Size: 14856
MD5sum: c33189a457a4b302620fe107d76477a0
SHA1: bc3cc74f989bf7dfd3ad34db9525be84bf7403bc
SHA256: ae4f34a11d8983c2d192e4da8f0e47eaa9b4eb3798ecb2c7ab2658a9fe73916d
SHA512: bb038f7e46effd7f546eb45f140acc4d3ff496870c6841119effe18a3a6919adc876304d96fc27f208063b666578f12d6443cfb7eb4c76d88d029a4ef1819b77
Homepage: https://metacpan.org/release/Dancer2-Plugin-Database
Description-en: module for easy database connections for Dancer2 applications
Dancer2::Plugin::Database Provides an easy way to obtain a connected DBI
database handle by simply calling the database keyword within your Dancer2
application
.
The module returns a Dancer::Plugin::Database::Core::Handle object, which is
a subclass of DBI's `DBI::db' connection handle object, so it does everything
you'd expect to do with DBI, but also adds a few convenience methods.
.
It takes care of ensuring that the database handle is still connected and
valid. If the handle was last asked for more than
`connection_check_threshold' seconds ago, it will check that the connection
is still alive, using either the `$dbh->ping' method if the DBD driver
supports it, or performing a simple no-op query against the database if not.
If the connection has gone away, a new connection will be obtained and
returned. This avoids any problems for a long-running script where the
connection to the database might go away.
.
Care is taken that handles are not shared across processes/threads, so this
should be thread-safe with no issues with transactions etc.
Description-md5: fe83cf865c0b413d795425f3b00af673