How To Install libstatistics-r-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libstatistics-r-perl
on Ubuntu 20.04.
What is libstatistics-r-perl
libstatistics-r-perl is:
Statistics::R is a module to controls the R interpreter (R project for statistical computing: http://www.r-project.org/). It lets you start R, pass commands to it and retrieve the output. A shared mode allow to have several instances of Statistics::R talk to the same R process.
The current Statistics::R implementation uses pipes (for stdin, stdout and stderr) to communicate with R. This implementation should be more efficient and reliable than that in previous version, which relied on reading and writing files.
There are three methods to install libstatistics-r-perl
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 libstatistics-r-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libstatistics-r-perl
using apt-get
by running the following command:
sudo apt-get -y install libstatistics-r-perl
Install libstatistics-r-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libstatistics-r-perl
using apt
by running the following command:
sudo apt -y install libstatistics-r-perl
Install libstatistics-r-perl 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 libstatistics-r-perl
using aptitude
by running the following command:
sudo aptitude -y install libstatistics-r-perl
How To Uninstall libstatistics-r-perl on Ubuntu 20.04
To uninstall only the libstatistics-r-perl
package we can use the following command:
sudo apt-get remove libstatistics-r-perl
Uninstall libstatistics-r-perl And Its Dependencies
To uninstall libstatistics-r-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libstatistics-r-perl
Remove libstatistics-r-perl Configurations and Data
To remove libstatistics-r-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libstatistics-r-perl
Remove libstatistics-r-perl configuration, data, and all of its dependencies
We can use the following command to remove libstatistics-r-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstatistics-r-perl
References
Summary
In this tutorial we learn how to install libstatistics-r-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.