How To Install r-cran-plotrix on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-plotrix
on Kali Linux.
What is r-cran-plotrix
r-cran-plotrix is:
This R package provides lots of plots, various labeling, axis and color scaling functions. Some of them are:
arctext: Display text on a circular arc. barhier: Display a set of hierarchically associated variables barp: A bar plotting routine bin.wind.records: Classify wind direction and speed records. centipede.plot: Display a centipede plot clock24.plot: Plot values on a 24 hour “clockface”. color.legend: Legend matching categories or values to colors dotplot.mtb: Minitab style dotplots. gantt.chart: Display a Gantt chart intersectDiagram: Display set intersections multhist: Plot a multiple histogram, as a barplot polar.plot: Plot values on a circular grid of 0 to 360 degrees. vectorField: Display magnitude/direction vectors weighted.hist: Display a weighted histogram
and many more. Read more about this package at http://cran.r-project.org/web/packages/plotrix/plotrix.pdf
There are three methods to install r-cran-plotrix
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-plotrix 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-plotrix
using apt-get
by running the following command:
sudo apt-get -y install r-cran-plotrix
Install r-cran-plotrix Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-plotrix
using apt
by running the following command:
sudo apt -y install r-cran-plotrix
Install r-cran-plotrix 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-plotrix
using aptitude
by running the following command:
sudo aptitude -y install r-cran-plotrix
How To Uninstall r-cran-plotrix on Kali Linux
To uninstall only the r-cran-plotrix
package we can use the following command:
sudo apt-get remove r-cran-plotrix
Uninstall r-cran-plotrix And Its Dependencies
To uninstall r-cran-plotrix
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-plotrix
Remove r-cran-plotrix Configurations and Data
To remove r-cran-plotrix
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-plotrix
Remove r-cran-plotrix configuration, data, and all of its dependencies
We can use the following command to remove r-cran-plotrix
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-plotrix
Dependencies
r-cran-plotrix have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-plotrix
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.