How To Install libima-dbi-perl on Debian 9
Introduction
In this tutorial we learn how to install libima-dbi-perl
on Debian 9.
What is libima-dbi-perl
libima-dbi-perl is:
Ima::DBI attempts to organize and facilitate caching and more efficient use of database connections and statement handles.
One of the things that can be annoying about writing large programs with DBI is making sure that you do not have duplicate database handles open. There is also the issue of the somewhat wasteful nature of the prepare/execute/finish route that users tend to go through.
The new DBI->connect_cached and DBI->prepare_cached help a lot, but you still have to throw around global information about the data source, username and password.
So, after a while the author grew a small library of DBI helper routines and techniques. Ima::DBI is the culmination of all this, put into a nice(?), clean(?) class to be inherited from.
There are three methods to install libima-dbi-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 libima-dbi-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libima-dbi-perl
using apt-get
by running the following command:
Install libima-dbi-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libima-dbi-perl
using apt
by running the following command:
Install libima-dbi-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.
After updating apt database, We can install libima-dbi-perl
using aptitude
by running the following command:
How To Uninstall libima-dbi-perl on Debian 9
To uninstall only the libima-dbi-perl
package we can use the following command:
Uninstall libima-dbi-perl And Its Dependencies
To uninstall libima-dbi-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove libima-dbi-perl Configurations and Data
To remove libima-dbi-perl
configuration and data from Debian 9 we can use the following command:
Remove libima-dbi-perl configuration, data, and all of its dependencies
We can use the following command to remove libima-dbi-perl
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libima-dbi-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libima-dbi-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.