How To Install r-cran-abind on Ubuntu 18.04
Introduction
In this tutorial we learn how to install r-cran-abind on Ubuntu 18.04.
What is r-cran-abind
r-cran-abind is:
This package provides the abind function, a generalization of the cbind and rbind function in the R base package. The abind function takes a sequence of vectors, matrices, or arrays and produces a single array of the same or higher dimension.
There are three methods to install r-cran-abind on Ubuntu 18.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-abind 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-abind using apt-get by running the following command:
sudo apt-get -y install r-cran-abind
Install r-cran-abind Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install r-cran-abind using apt by running the following command:
sudo apt -y install r-cran-abind
Install r-cran-abind 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-abind using aptitude by running the following command:
sudo aptitude -y install r-cran-abind
How To Uninstall r-cran-abind on Ubuntu 18.04
To uninstall only the r-cran-abind package we can use the following command:
sudo apt-get remove r-cran-abind
Uninstall r-cran-abind And Its Dependencies
To uninstall r-cran-abind and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove r-cran-abind
Remove r-cran-abind Configurations and Data
To remove r-cran-abind configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge r-cran-abind
Remove r-cran-abind configuration, data, and all of its dependencies
We can use the following command to remove r-cran-abind configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-abind
References
Summary
In this tutorial we learn how to install r-cran-abind package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.