How To Install python-xarray on Debian 10
Introduction
In this tutorial we learn how to install python-xarray
on Debian 10.
What is python-xarray
python-xarray is:
xarray (formerly xray) is an open source project and Python package that aims to bring the labeled data power of pandas to the physical sciences, by providing N-dimensional variants of the core pandas data structures.
It provides a pandas-like and pandas-compatible toolkit for analytics on multi-dimensional arrays, rather than the tabular data for which pandas excels.
This package provides the Python 2 library
There are three methods to install python-xarray
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-xarray 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-xarray
using apt-get
by running the following command:
sudo apt-get -y install python-xarray
Install python-xarray Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-xarray
using apt
by running the following command:
sudo apt -y install python-xarray
Install python-xarray 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-xarray
using aptitude
by running the following command:
sudo aptitude -y install python-xarray
How To Uninstall python-xarray on Debian 10
To uninstall only the python-xarray
package we can use the following command:
sudo apt-get remove python-xarray
Uninstall python-xarray And Its Dependencies
To uninstall python-xarray
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-xarray
Remove python-xarray Configurations and Data
To remove python-xarray
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-xarray
Remove python-xarray configuration, data, and all of its dependencies
We can use the following command to remove python-xarray
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-xarray
Dependencies
python-xarray have the following dependencies:
References
Summary
In this tutorial we learn how to install python-xarray
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.