How To Install r-cran-rappdirs on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-rappdirs
on Kali Linux.
What is r-cran-rappdirs
r-cran-rappdirs is:
This GNU R package provides functions to determine where to save data, caches and Logs.
An easy way to determine which directories on the users computer you should use to save data, caches and logs. This is a port of Python’s Appdirs to R.
There are three methods to install r-cran-rappdirs
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-rappdirs 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-rappdirs
using apt-get
by running the following command:
sudo apt-get -y install r-cran-rappdirs
Install r-cran-rappdirs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-rappdirs
using apt
by running the following command:
sudo apt -y install r-cran-rappdirs
Install r-cran-rappdirs 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-rappdirs
using aptitude
by running the following command:
sudo aptitude -y install r-cran-rappdirs
How To Uninstall r-cran-rappdirs on Kali Linux
To uninstall only the r-cran-rappdirs
package we can use the following command:
sudo apt-get remove r-cran-rappdirs
Uninstall r-cran-rappdirs And Its Dependencies
To uninstall r-cran-rappdirs
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-rappdirs
Remove r-cran-rappdirs Configurations and Data
To remove r-cran-rappdirs
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-rappdirs
Remove r-cran-rappdirs configuration, data, and all of its dependencies
We can use the following command to remove r-cran-rappdirs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-rappdirs
Dependencies
r-cran-rappdirs have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-rappdirs
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.