How To Install db5.3-sql-util on Debian 9
Introduction
In this tutorial we learn how to install db5.3-sql-util on Debian 9.
What is db5.3-sql-util
db5.3-sql-util is:
This package provides different tools for manipulating databases in the Berkeley v5.3 SQL database format, and includes:
- db5.3_sql: sqlite3 compatible command-line utility
There are three methods to install db5.3-sql-util 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 db5.3-sql-util Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install db5.3-sql-util using apt-get by running the following command:
sudo apt-get -y install db5.3-sql-util
Install db5.3-sql-util Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install db5.3-sql-util using apt by running the following command:
sudo apt -y install db5.3-sql-util
Install db5.3-sql-util 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 db5.3-sql-util using aptitude by running the following command:
sudo aptitude -y install db5.3-sql-util
How To Uninstall db5.3-sql-util on Debian 9
To uninstall only the db5.3-sql-util package we can use the following command:
sudo apt-get remove db5.3-sql-util
Uninstall db5.3-sql-util And Its Dependencies
To uninstall db5.3-sql-util and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove db5.3-sql-util
Remove db5.3-sql-util Configurations and Data
To remove db5.3-sql-util configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge db5.3-sql-util
Remove db5.3-sql-util configuration, data, and all of its dependencies
We can use the following command to remove db5.3-sql-util configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge db5.3-sql-util
Dependencies
db5.3-sql-util have the following dependencies:
References
Summary
In this tutorial we learn how to install db5.3-sql-util package on Debian 9 using different package management tools: apt, apt-get and aptitude.