How To Install r-cran-huge on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-cran-huge on Ubuntu 20.04.
What is r-cran-huge
r-cran-huge is:
Provides a general framework for high-dimensional undirected graph estimation. It integrates data preprocessing, neighborhood screening, graph estimation, and model selection techniques into a pipeline. In preprocessing stage, the nonparanormal(npn) transformation is applied to help relax the normality assumption. In the graph estimation stage, the graph structure is estimated by Meinshausen-Buhlmann graph estimation or the graphical lasso, and both methods can be further accelerated by the lossy screening rule preselecting the neighborhood of each variable by correlation thresholding.
There are three methods to install r-cran-huge 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-huge 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-huge using apt-get by running the following command:
sudo apt-get -y install r-cran-huge
Install r-cran-huge Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install r-cran-huge using apt by running the following command:
sudo apt -y install r-cran-huge
Install r-cran-huge 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-huge using aptitude by running the following command:
sudo aptitude -y install r-cran-huge
How To Uninstall r-cran-huge on Ubuntu 20.04
To uninstall only the r-cran-huge package we can use the following command:
sudo apt-get remove r-cran-huge
Uninstall r-cran-huge And Its Dependencies
To uninstall r-cran-huge 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-huge
Remove r-cran-huge Configurations and Data
To remove r-cran-huge configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-cran-huge
Remove r-cran-huge configuration, data, and all of its dependencies
We can use the following command to remove r-cran-huge configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-huge
References
Summary
In this tutorial we learn how to install r-cran-huge package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.