How To Install python-sqlkit on Debian 10
Introduction
In this tutorial we learn how to install python-sqlkit
on Debian 10.
What is python-sqlkit
python-sqlkit is:
Main features of sqlkit:
- editor of databases in 2 modes: table & mask
- based on SQLAlchemy: can cope with many different databases
- very powerful filtering capabilities:
- each field can be used to filter visible records
- date filtering possible also on relative basis (good for saved queries)
- completion both on local same field and foreign key fields
- very easy way to draw a layout for mask views
- sqledit: Python script to edit db
- completely effortless editing of relationships
- very easy way to set defaults
- possibility to display totals in numeric fields
- constraints: any possible sql constraint can be attached to a Mask or a Table. It can be expressed as a normal SQLAlchemy query or with django-like syntax
- completely localized
- easy way to add hooks and validation
There are three methods to install python-sqlkit
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python-sqlkit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-sqlkit
using apt-get
by running the following command:
sudo apt-get -y install python-sqlkit
Install python-sqlkit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-sqlkit
using apt
by running the following command:
sudo apt -y install python-sqlkit
Install python-sqlkit 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 python-sqlkit
using aptitude
by running the following command:
sudo aptitude -y install python-sqlkit
How To Uninstall python-sqlkit on Debian 10
To uninstall only the python-sqlkit
package we can use the following command:
sudo apt-get remove python-sqlkit
Uninstall python-sqlkit And Its Dependencies
To uninstall python-sqlkit
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-sqlkit
Remove python-sqlkit Configurations and Data
To remove python-sqlkit
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-sqlkit
Remove python-sqlkit configuration, data, and all of its dependencies
We can use the following command to remove python-sqlkit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-sqlkit
Dependencies
python-sqlkit have the following dependencies:
References
Summary
In this tutorial we learn how to install python-sqlkit
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.