How To Install libdbd-sqlite3-perl on Debian 9
Introduction
In this tutorial we learn how to install libdbd-sqlite3-perl
on Debian 9.
What is libdbd-sqlite3-perl
libdbd-sqlite3-perl is:
DBD::SQLite is a Perl DBI driver with a self-contained relational database management system. It embeds a small and fast embedded SQL database engine called SQLite (see sqlite3) into a DBI driver. It is useful if you want a relational database for your project, but don’t want to install a large RDBMS system like MySQL or PostgreSQL.
SQLite supports the following features:
- Implements a large subset of SQL92 (URL:http://www.sqlite.org/lang.html)
- A complete DB in a single disk file Everything for your database is stored in a single disk file, making it easier to move things around than with DBD::CSV.
- Atomic commit and rollback
The engine is very fast, but for updates/inserts/dml it does perform a global lock on the entire database. This, obviously, might not be good for multiple user systems. The database also appears to be significantly faster if your transactions are coarse.
There are three methods to install libdbd-sqlite3-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdbd-sqlite3-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 libdbd-sqlite3-perl
using apt-get
by running the following command:
sudo apt-get -y install libdbd-sqlite3-perl
Install libdbd-sqlite3-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdbd-sqlite3-perl
using apt
by running the following command:
sudo apt -y install libdbd-sqlite3-perl
Install libdbd-sqlite3-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 libdbd-sqlite3-perl
using aptitude
by running the following command:
sudo aptitude -y install libdbd-sqlite3-perl
How To Uninstall libdbd-sqlite3-perl on Debian 9
To uninstall only the libdbd-sqlite3-perl
package we can use the following command:
sudo apt-get remove libdbd-sqlite3-perl
Uninstall libdbd-sqlite3-perl And Its Dependencies
To uninstall libdbd-sqlite3-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdbd-sqlite3-perl
Remove libdbd-sqlite3-perl Configurations and Data
To remove libdbd-sqlite3-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdbd-sqlite3-perl
Remove libdbd-sqlite3-perl configuration, data, and all of its dependencies
We can use the following command to remove libdbd-sqlite3-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdbd-sqlite3-perl
Dependencies
libdbd-sqlite3-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdbd-sqlite3-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.