How To Install libdancer-plugin-database-perl on Debian 11
Introduction
In this tutorial we learn how to install libdancer-plugin-database-perl
on Debian 11.
What is libdancer-plugin-database-perl
libdancer-plugin-database-perl is:
Dancer::Plugin::Database is a Dancer plugin that provides an easy way to obtain a connected DBI database handle by simply calling the “database” keyword within your Dancer application. It also ensures that the database handle is still connected and valid.
Additionally, connection credentials and other information are retrieved from the Dancer configuration, leaving your code nice and clean.
There are three methods to install libdancer-plugin-database-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdancer-plugin-database-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 libdancer-plugin-database-perl
using apt-get
by running the following command:
sudo apt-get -y install libdancer-plugin-database-perl
Install libdancer-plugin-database-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdancer-plugin-database-perl
using apt
by running the following command:
sudo apt -y install libdancer-plugin-database-perl
Install libdancer-plugin-database-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 libdancer-plugin-database-perl
using aptitude
by running the following command:
sudo aptitude -y install libdancer-plugin-database-perl
How To Uninstall libdancer-plugin-database-perl on Debian 11
To uninstall only the libdancer-plugin-database-perl
package we can use the following command:
sudo apt-get remove libdancer-plugin-database-perl
Uninstall libdancer-plugin-database-perl And Its Dependencies
To uninstall libdancer-plugin-database-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libdancer-plugin-database-perl
Remove libdancer-plugin-database-perl Configurations and Data
To remove libdancer-plugin-database-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libdancer-plugin-database-perl
Remove libdancer-plugin-database-perl configuration, data, and all of its dependencies
We can use the following command to remove libdancer-plugin-database-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdancer-plugin-database-perl
Dependencies
libdancer-plugin-database-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdancer-plugin-database-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.