How To Install python3-pysal on Debian 10
Introduction
In this tutorial we learn how to install python3-pysal
on Debian 10.
What is python3-pysal
python3-pysal is:
PySAL is an open source library of spatial analysis functions written in Python intended to support the development of high level applications.
It is important to underscore what PySAL is, and is not, designed to do. First and foremost, PySAL is a library in the fullest sense of the word. Developers looking for a suite of spatial analytical methods that they can incorporate into application development should feel at home using PySAL. Spatial analysts who may be carrying out research projects requiring customized scripting, extensive simulation analysis, or those seeking to advance the state of the art in spatial analysis should also find PySAL to be a useful foundation for their work.
End users looking for a user friendly graphical user interface for spatial analysis should not turn to PySAL directly. Instead, they should consider projects like STARS and the GeoDaX suite of software products which wrap PySAL functionality in GUIs. At the same time, it’s expected that with developments such as the Python based plug-in architectures for QGIS, GRASS, and the toolbox extensions for ArcGIS, that end user access to PySAL functionality will be widening in the near future.
This package contains the pysal library for Python 3.
There are three methods to install python3-pysal
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 python3-pysal Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-pysal
using apt-get
by running the following command:
sudo apt-get -y install python3-pysal
Install python3-pysal Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-pysal
using apt
by running the following command:
sudo apt -y install python3-pysal
Install python3-pysal 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 python3-pysal
using aptitude
by running the following command:
sudo aptitude -y install python3-pysal
How To Uninstall python3-pysal on Debian 10
To uninstall only the python3-pysal
package we can use the following command:
sudo apt-get remove python3-pysal
Uninstall python3-pysal And Its Dependencies
To uninstall python3-pysal
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python3-pysal
Remove python3-pysal Configurations and Data
To remove python3-pysal
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python3-pysal
Remove python3-pysal configuration, data, and all of its dependencies
We can use the following command to remove python3-pysal
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-pysal
Dependencies
python3-pysal have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-pysal
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.