How To Install libapache-db-perl on Debian 11
Introduction
In this tutorial we learn how to install libapache-db-perl
on Debian 11.
What is libapache-db-perl
libapache-db-perl is:
Perl ships with a very useful interactive debugger, however, it does not run “out-of-the-box” in the Apache/mod_perl environment. Apache::DB makes a few adjustments so the two will cooperate.
There are three methods to install libapache-db-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 libapache-db-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 libapache-db-perl
using apt-get
by running the following command:
sudo apt-get -y install libapache-db-perl
Install libapache-db-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libapache-db-perl
using apt
by running the following command:
sudo apt -y install libapache-db-perl
Install libapache-db-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 libapache-db-perl
using aptitude
by running the following command:
sudo aptitude -y install libapache-db-perl
How To Uninstall libapache-db-perl on Debian 11
To uninstall only the libapache-db-perl
package we can use the following command:
sudo apt-get remove libapache-db-perl
Uninstall libapache-db-perl And Its Dependencies
To uninstall libapache-db-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libapache-db-perl
Remove libapache-db-perl Configurations and Data
To remove libapache-db-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libapache-db-perl
Remove libapache-db-perl configuration, data, and all of its dependencies
We can use the following command to remove libapache-db-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libapache-db-perl
Dependencies
libapache-db-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libapache-db-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.