How To Install r-cran-squarem on Debian 12
Introduction
In this tutorial we learn how to install r-cran-squarem on Debian 12.
What is r-cran-squarem
r-cran-squarem is:
Algorithms for accelerating the convergence of slow, monotone sequences from smooth, contraction mapping such as the EM algorithm. It can be used to accelerate any smooth, linearly convergent acceleration scheme. A tutorial style introduction to this package is available in a vignette on the CRAN download page or, when the package is loaded in an R session, with vignette(“SQUAREM”).
There are three methods to install r-cran-squarem 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-squarem 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-squarem using apt-get by running the following command:
sudo apt-get -y install r-cran-squarem
Install r-cran-squarem Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install r-cran-squarem using apt by running the following command:
sudo apt -y install r-cran-squarem
Install r-cran-squarem 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-squarem using aptitude by running the following command:
sudo aptitude -y install r-cran-squarem
How To Uninstall r-cran-squarem on Debian 12
To uninstall only the r-cran-squarem package we can use the following command:
sudo apt-get remove r-cran-squarem
Uninstall r-cran-squarem And Its Dependencies
To uninstall r-cran-squarem and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove r-cran-squarem
Remove r-cran-squarem Configurations and Data
To remove r-cran-squarem configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge r-cran-squarem
Remove r-cran-squarem configuration, data, and all of its dependencies
We can use the following command to remove r-cran-squarem configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-squarem
Dependencies
r-cran-squarem have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-squarem package on Debian 12 using different package management tools: apt, apt-get and aptitude.