How To Install python3-pyspectral on Kali Linux
Introduction
In this tutorial we learn how to install python3-pyspectral
on Kali Linux.
What is python3-pyspectral
python3-pyspectral is:
Reading and manipulaing satellite sensor spectral responses and the solar spectrum, to perform various corrections to VIS and NIR band data.
Given a passive sensor on a meteorological satellite PySpectral provides the relative spectral response (rsr) function(s) and offer some basic operations like convolution with the solar spectrum to derive the in band solar flux, for instance.
The focus is on imaging sensors like AVHRR, VIIRS, MODIS, ABI, AHI, OLCI and SEVIRI. But more sensors are included and if others are needed they can be easily added. With PySpectral it is possible to derive the reflective and emissive parts of the signal observed in any NIR band around 3-4 microns where both passive terrestrial emission and solar backscatter mix the information received by the satellite. Furthermore PySpectral allows correcting true color imagery for the background (climatological) atmospheric signal due to Rayleigh scattering of molecules, absorption by atmospheric gases and aerosols, and Mie scattering of aerosols.
There are three methods to install python3-pyspectral
on Kali Linux. 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-pyspectral Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install python3-pyspectral
using apt-get
by running the following command:
Install python3-pyspectral Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install python3-pyspectral
using apt
by running the following command:
Install python3-pyspectral Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
After updating apt database, We can install python3-pyspectral
using aptitude
by running the following command:
How To Uninstall python3-pyspectral on Kali Linux
To uninstall only the python3-pyspectral
package we can use the following command:
Uninstall python3-pyspectral And Its Dependencies
To uninstall python3-pyspectral
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove python3-pyspectral Configurations and Data
To remove python3-pyspectral
configuration and data from Kali Linux we can use the following command:
Remove python3-pyspectral configuration, data, and all of its dependencies
We can use the following command to remove python3-pyspectral
configurations, data and all of its dependencies, we can use the following command:
Dependencies
python3-pyspectral have the following dependencies:
- python3-appdirs
- python3-dask
- python3-geotiepoints
- python3-h5py
- python3-numpy
- python3-requests
- python3-scipy
- python3-six
- python3-yaml
- python3-docutils
- python3-h5py-serial
- python3
References
Summary
In this tutorial we learn how to install python3-pyspectral
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.