How To Install sarsen on Debian 12
Introduction
In this tutorial we learn how to install sarsen
on Debian 12.
What is sarsen
sarsen is:
Enables cloud-native SAR processing via Xarray and Dask.
Sarsen is a Python library and command line tool with the following functionalities:
- provides algorithms to terrain-correct satellite SAR data
- geometric terrain correction (geocoding)
- fast mode: to terrain-correct images
- accurate mode: for interferometric processing
- radiometric terrain correction (gamma flattening)
- geometric terrain correction (geocoding)
- accesses SAR data via xarray-sentinel:
- supports most Sentinel-1 data products as distributed by ESA:
- Sentinel-1 Single Look Complex (SLC) SM/IW/EW
- Sentinel-1 Ground Range Detected (GRD) SM/IW/EW
- reads uncompressed and compressed SAFE data products on the local computer or on a network via fsspec
- supports most Sentinel-1 data products as distributed by ESA:
- accesses DEM data via rioxarray:
- reads local and remote data in virtually any raster format via rasterio / GDAL
- supports larger-than-memory and distributed data access and processing
via Dask
- efficient geometric terrain-correction for a full GRD
- efficient radiometric terrain-correction for a full GRD.
This package contain executable programs provided by the sarsen Python package.
There are three methods to install sarsen
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sarsen Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sarsen
using apt-get
by running the following command:
sudo apt-get -y install sarsen
Install sarsen Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sarsen
using apt
by running the following command:
sudo apt -y install sarsen
Install sarsen 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 sarsen
using aptitude
by running the following command:
sudo aptitude -y install sarsen
How To Uninstall sarsen on Debian 12
To uninstall only the sarsen
package we can use the following command:
sudo apt-get remove sarsen
Uninstall sarsen And Its Dependencies
To uninstall sarsen
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove sarsen
Remove sarsen Configurations and Data
To remove sarsen
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge sarsen
Remove sarsen configuration, data, and all of its dependencies
We can use the following command to remove sarsen
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sarsen
Dependencies
sarsen have the following dependencies:
References
Summary
In this tutorial we learn how to install sarsen
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.