How To Install r-cran-dendextend on Ubuntu 22.04
Introduction
In this tutorial we learn how to install r-cran-dendextend
on Ubuntu 22.04.
What is r-cran-dendextend
r-cran-dendextend is:
Offers a set of functions for extending ‘dendrogram’ objects in R, letting you visualize and compare trees of ‘hierarchical clusterings’. You can
(1) Adjust a tree’s graphical parameters - the color, size, type, etc of its branches, nodes and labels. (2) Visually and statistically compare different ‘dendrograms’ to one another.
There are three methods to install r-cran-dendextend
on Ubuntu 22.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-dendextend 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-dendextend
using apt-get
by running the following command:
sudo apt-get -y install r-cran-dendextend
Install r-cran-dendextend Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-dendextend
using apt
by running the following command:
sudo apt -y install r-cran-dendextend
Install r-cran-dendextend 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-dendextend
using aptitude
by running the following command:
sudo aptitude -y install r-cran-dendextend
How To Uninstall r-cran-dendextend on Ubuntu 22.04
To uninstall only the r-cran-dendextend
package we can use the following command:
sudo apt-get remove r-cran-dendextend
Uninstall r-cran-dendextend And Its Dependencies
To uninstall r-cran-dendextend
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove r-cran-dendextend
Remove r-cran-dendextend Configurations and Data
To remove r-cran-dendextend
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge r-cran-dendextend
Remove r-cran-dendextend configuration, data, and all of its dependencies
We can use the following command to remove r-cran-dendextend
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-dendextend
References
Summary
In this tutorial we learn how to install r-cran-dendextend
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.