How To Install libdbix-simple-perl on Debian 11
Introduction
In this tutorial we learn how to install libdbix-simple-perl
on Debian 11.
What is libdbix-simple-perl
libdbix-simple-perl is:
DBIx::Simple provides a simplified interface to DBI, Perl’s powerful de-facto standard database interface. This module is aimed at rapid development and easy maintenance of your codebase. A single method prepares and executes your queries, and the result object (which wraps the statement handle) provides easy row-by-row iteration and slurping methods.
The query method returns either a result object, or a dummy object. The dummy object returns undef (or an empty list) for all methods and when evaluated in boolean context, is false. The dummy object lets you postpone (or skip) error checking, but it also makes immediate error checking simple.
There are three methods to install libdbix-simple-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 libdbix-simple-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 libdbix-simple-perl
using apt-get
by running the following command:
sudo apt-get -y install libdbix-simple-perl
Install libdbix-simple-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdbix-simple-perl
using apt
by running the following command:
sudo apt -y install libdbix-simple-perl
Install libdbix-simple-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 libdbix-simple-perl
using aptitude
by running the following command:
sudo aptitude -y install libdbix-simple-perl
How To Uninstall libdbix-simple-perl on Debian 11
To uninstall only the libdbix-simple-perl
package we can use the following command:
sudo apt-get remove libdbix-simple-perl
Uninstall libdbix-simple-perl And Its Dependencies
To uninstall libdbix-simple-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libdbix-simple-perl
Remove libdbix-simple-perl Configurations and Data
To remove libdbix-simple-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libdbix-simple-perl
Remove libdbix-simple-perl configuration, data, and all of its dependencies
We can use the following command to remove libdbix-simple-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdbix-simple-perl
Dependencies
libdbix-simple-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdbix-simple-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.