How To Install dbconfig-no-thanks on Debian 9
Introduction
In this tutorial we learn how to install dbconfig-no-thanks on Debian 9.
What is dbconfig-no-thanks
dbconfig-no-thanks is:
If a package relies on the dbconfig-common framework for database setup and maintenance, installing dbconfig-no-thanks instead of one of dbconfig’s database-specific packages will block this function. It is intended for cases where the system administrator desires or requires full control of the database or where dbconfig-common makes bad choices, and typically leaves the depending packages non-functional until manually configured.
There are three methods to install dbconfig-no-thanks 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 dbconfig-no-thanks Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install dbconfig-no-thanks using apt-get by running the following command:
sudo apt-get -y install dbconfig-no-thanks
Install dbconfig-no-thanks Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install dbconfig-no-thanks using apt by running the following command:
sudo apt -y install dbconfig-no-thanks
Install dbconfig-no-thanks 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 dbconfig-no-thanks using aptitude by running the following command:
sudo aptitude -y install dbconfig-no-thanks
How To Uninstall dbconfig-no-thanks on Debian 9
To uninstall only the dbconfig-no-thanks package we can use the following command:
sudo apt-get remove dbconfig-no-thanks
Uninstall dbconfig-no-thanks And Its Dependencies
To uninstall dbconfig-no-thanks and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove dbconfig-no-thanks
Remove dbconfig-no-thanks Configurations and Data
To remove dbconfig-no-thanks configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge dbconfig-no-thanks
Remove dbconfig-no-thanks configuration, data, and all of its dependencies
We can use the following command to remove dbconfig-no-thanks configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dbconfig-no-thanks
Dependencies
dbconfig-no-thanks have the following dependencies:
References
Summary
In this tutorial we learn how to install dbconfig-no-thanks package on Debian 9 using different package management tools: apt, apt-get and aptitude.