How To Install r-cran-satellite on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-cran-satellite
on Ubuntu 20.04.
What is r-cran-satellite
r-cran-satellite is:
This package provides a broad variety of functions which are useful for handling, manipulating, and visualizing satellite-based remote sensing data. These operations range from mere data import and layer handling (eg subsetting), over Raster* typical data wrangling (eg crop, extend), to more sophisticated (pre-)processing tasks typically applied to satellite imagery (eg atmospheric and topographic correction). This functionality is complemented by a full access to the satellite layers’ metadata at any stage and the documentation of performed actions in a separate log file. Currently available sensors include Landsat 4-5 (TM), 7 (ETM+), and 8 (OLI/TIRS Combined), and additional compatibility is ensured for the Landsat Global Land Survey data set. Moreover, support for Terra and Aqua-MODIS as well as PROBA-V is expected to arrive shortly.
There are three methods to install r-cran-satellite
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install r-cran-satellite Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install r-cran-satellite
using apt-get
by running the following command:
sudo apt-get -y install r-cran-satellite
Install r-cran-satellite Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-satellite
using apt
by running the following command:
sudo apt -y install r-cran-satellite
Install r-cran-satellite 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-satellite
using aptitude
by running the following command:
sudo aptitude -y install r-cran-satellite
How To Uninstall r-cran-satellite on Ubuntu 20.04
To uninstall only the r-cran-satellite
package we can use the following command:
sudo apt-get remove r-cran-satellite
Uninstall r-cran-satellite And Its Dependencies
To uninstall r-cran-satellite
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove r-cran-satellite
Remove r-cran-satellite Configurations and Data
To remove r-cran-satellite
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-cran-satellite
Remove r-cran-satellite configuration, data, and all of its dependencies
We can use the following command to remove r-cran-satellite
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-satellite
References
Summary
In this tutorial we learn how to install r-cran-satellite
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.