How To Install r-cran-ggpubr on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-ggpubr
on Kali Linux.
What is r-cran-ggpubr
r-cran-ggpubr is:
The ‘ggplot2’ package is excellent and flexible for elegant data visualization in R. However the default generated plots requires some formatting before it can be send them for publication. Furthermore, to customize a ‘ggplot’, the syntax is opaque and this raises the level of difficulty for researchers with no advanced R programming skills. ‘ggpubr’ provides some easy-to-use functions for creating and customizing ‘ggplot2’- based publication ready plots.
There are three methods to install r-cran-ggpubr
on Kali Linux. 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-ggpubr 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-ggpubr
using apt-get
by running the following command:
sudo apt-get -y install r-cran-ggpubr
Install r-cran-ggpubr Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-ggpubr
using apt
by running the following command:
sudo apt -y install r-cran-ggpubr
Install r-cran-ggpubr Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-ggpubr
using aptitude
by running the following command:
sudo aptitude -y install r-cran-ggpubr
How To Uninstall r-cran-ggpubr on Kali Linux
To uninstall only the r-cran-ggpubr
package we can use the following command:
sudo apt-get remove r-cran-ggpubr
Uninstall r-cran-ggpubr And Its Dependencies
To uninstall r-cran-ggpubr
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-ggpubr
Remove r-cran-ggpubr Configurations and Data
To remove r-cran-ggpubr
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-ggpubr
Remove r-cran-ggpubr configuration, data, and all of its dependencies
We can use the following command to remove r-cran-ggpubr
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-ggpubr
Dependencies
r-cran-ggpubr have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-ggplot2
- r-cran-ggrepel
- r-cran-ggsci
- r-cran-tidyr
- r-cran-purrr
- r-cran-dplyr
- r-cran-cowplot
- r-cran-ggsignif
- r-cran-scales
- r-cran-gridextra
- r-cran-glue
- r-cran-polynom
- r-cran-rlang
- r-cran-rstatix
- r-cran-tibble
- r-cran-magrittr
References
Summary
In this tutorial we learn how to install r-cran-ggpubr
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.