How To Install r-cran-mvnfast on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-cran-mvnfast
on Ubuntu 20.04.
What is r-cran-mvnfast
r-cran-mvnfast is:
Provides computationally efficient tools related to the multivariate normal and Student’s t distributions. The main functionalities are: simulating multivariate random vectors, evaluating multivariate normal or Student’s t densities and Mahalanobis distances. These tools are very efficient thanks to the use of C++ code and of the OpenMP API.
There are three methods to install r-cran-mvnfast
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-mvnfast 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-mvnfast
using apt-get
by running the following command:
sudo apt-get -y install r-cran-mvnfast
Install r-cran-mvnfast Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-mvnfast
using apt
by running the following command:
sudo apt -y install r-cran-mvnfast
Install r-cran-mvnfast 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-mvnfast
using aptitude
by running the following command:
sudo aptitude -y install r-cran-mvnfast
How To Uninstall r-cran-mvnfast on Ubuntu 20.04
To uninstall only the r-cran-mvnfast
package we can use the following command:
sudo apt-get remove r-cran-mvnfast
Uninstall r-cran-mvnfast And Its Dependencies
To uninstall r-cran-mvnfast
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-mvnfast
Remove r-cran-mvnfast Configurations and Data
To remove r-cran-mvnfast
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-cran-mvnfast
Remove r-cran-mvnfast configuration, data, and all of its dependencies
We can use the following command to remove r-cran-mvnfast
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-mvnfast
References
Summary
In this tutorial we learn how to install r-cran-mvnfast
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.