How To Install r-cran-sparr on Debian 12
Introduction
In this tutorial we learn how to install r-cran-sparr
on Debian 12.
What is r-cran-sparr
r-cran-sparr is:
Provides functions to estimate kernel-smoothed spatial and spatio- temporal densities and relative risk functions, and perform subsequent inference. Methodological details can be found in the accompanying tutorial: Davies et al. (2018) DOI:10.1002/sim.7577.
There are three methods to install r-cran-sparr
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 r-cran-sparr 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-sparr
using apt-get
by running the following command:
sudo apt-get -y install r-cran-sparr
Install r-cran-sparr Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-sparr
using apt
by running the following command:
sudo apt -y install r-cran-sparr
Install r-cran-sparr 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 r-cran-sparr
using aptitude
by running the following command:
sudo aptitude -y install r-cran-sparr
How To Uninstall r-cran-sparr on Debian 12
To uninstall only the r-cran-sparr
package we can use the following command:
sudo apt-get remove r-cran-sparr
Uninstall r-cran-sparr And Its Dependencies
To uninstall r-cran-sparr
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove r-cran-sparr
Remove r-cran-sparr Configurations and Data
To remove r-cran-sparr
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge r-cran-sparr
Remove r-cran-sparr configuration, data, and all of its dependencies
We can use the following command to remove r-cran-sparr
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-sparr
Dependencies
r-cran-sparr have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-spatstat
- r-cran-spatstat.utils
- r-cran-spatstat.geom
- r-cran-spatstat.explore
- r-cran-spatstat.random
- r-cran-doparallel
- r-cran-foreach
- r-cran-misc3d
References
Summary
In this tutorial we learn how to install r-cran-sparr
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.