How To Install aolserver4-nsmysql on Debian 9
Introduction
In this tutorial we learn how to install aolserver4-nsmysql on Debian 9.
What is aolserver4-nsmysql
aolserver4-nsmysql is:
This module adds MySQL databases access capabilities to Aolserver 4, and gives Tcl scripts an API to manage an external MySQL instance.
This is the MySQL internal driver for AOLserver 4.
There are three methods to install aolserver4-nsmysql 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 aolserver4-nsmysql Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install aolserver4-nsmysql using apt-get by running the following command:
sudo apt-get -y install aolserver4-nsmysql
Install aolserver4-nsmysql Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install aolserver4-nsmysql using apt by running the following command:
sudo apt -y install aolserver4-nsmysql
Install aolserver4-nsmysql 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 aolserver4-nsmysql using aptitude by running the following command:
sudo aptitude -y install aolserver4-nsmysql
How To Uninstall aolserver4-nsmysql on Debian 9
To uninstall only the aolserver4-nsmysql package we can use the following command:
sudo apt-get remove aolserver4-nsmysql
Uninstall aolserver4-nsmysql And Its Dependencies
To uninstall aolserver4-nsmysql and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove aolserver4-nsmysql
Remove aolserver4-nsmysql Configurations and Data
To remove aolserver4-nsmysql configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge aolserver4-nsmysql
Remove aolserver4-nsmysql configuration, data, and all of its dependencies
We can use the following command to remove aolserver4-nsmysql configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge aolserver4-nsmysql
Dependencies
aolserver4-nsmysql have the following dependencies:
References
Summary
In this tutorial we learn how to install aolserver4-nsmysql package on Debian 9 using different package management tools: apt, apt-get and aptitude.