How to Install and Uninstall libdancer2-plugin-database-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 23,2024
1. Install "libdancer2-plugin-database-perl" package
Here is a brief guide to show you how to install libdancer2-plugin-database-perl on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
libdancer2-plugin-database-perl
Copied
2. Uninstall "libdancer2-plugin-database-perl" package
This guide covers the steps necessary to uninstall libdancer2-plugin-database-perl on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
libdancer2-plugin-database-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libdancer2-plugin-database-perl package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: libdancer2-plugin-database-perl
Priority: optional
Section: universe/perl
Installed-Size: 36
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 2.15-1
Depends: perl, libdancer-plugin-database-core-perl (>= 0.12), libdancer2-perl (>= 0.166001)
Filename: pool/universe/libd/libdancer2-plugin-database-perl/libdancer2-plugin-database-perl_2.15-1_all.deb
Size: 15384
MD5sum: 6498c88c64728861141472d48dd8fd83
SHA1: 5626288093f165a3e360b290c9c55a38842db55b
SHA256: 4b5fdc17126548aaafa37eba544c2869fc1fe29179b06d4c33db144ad072429a
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
Homepage: https://metacpan.org/release/Dancer2-Plugin-Database
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/perl
Installed-Size: 36
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 2.15-1
Depends: perl, libdancer-plugin-database-core-perl (>= 0.12), libdancer2-perl (>= 0.166001)
Filename: pool/universe/libd/libdancer2-plugin-database-perl/libdancer2-plugin-database-perl_2.15-1_all.deb
Size: 15384
MD5sum: 6498c88c64728861141472d48dd8fd83
SHA1: 5626288093f165a3e360b290c9c55a38842db55b
SHA256: 4b5fdc17126548aaafa37eba544c2869fc1fe29179b06d4c33db144ad072429a
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
Homepage: https://metacpan.org/release/Dancer2-Plugin-Database
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu