How To Install python-qscintilla2 on Debian 9
Introduction
In this tutorial we learn how to install python-qscintilla2
on Debian 9.
What is python-qscintilla2
python-qscintilla2 is:
QScintilla is a text editor for Qt4 with features especially useful when writing and debugging source code. These include support for syntax styling, error indicators, code completion, call tips and margins.
This package contains Python bindings so QScintilla 2 can be used in PyQt4 applications.
There are three methods to install python-qscintilla2
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 python-qscintilla2 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-qscintilla2
using apt-get
by running the following command:
sudo apt-get -y install python-qscintilla2
Install python-qscintilla2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-qscintilla2
using apt
by running the following command:
sudo apt -y install python-qscintilla2
Install python-qscintilla2 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-qscintilla2
using aptitude
by running the following command:
sudo aptitude -y install python-qscintilla2
How To Uninstall python-qscintilla2 on Debian 9
To uninstall only the python-qscintilla2
package we can use the following command:
sudo apt-get remove python-qscintilla2
Uninstall python-qscintilla2 And Its Dependencies
To uninstall python-qscintilla2
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-qscintilla2
Remove python-qscintilla2 Configurations and Data
To remove python-qscintilla2
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-qscintilla2
Remove python-qscintilla2 configuration, data, and all of its dependencies
We can use the following command to remove python-qscintilla2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-qscintilla2
Dependencies
python-qscintilla2 have the following dependencies:
References
Summary
In this tutorial we learn how to install python-qscintilla2
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.