How To Install r-cran-dqrng on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-dqrng
on Kali Linux.
What is r-cran-dqrng
r-cran-dqrng is:
Several fast random number generators are provided as C++ header only libraries: The PCG family by O’Neill (2014 https://www.cs.hmc.edu/tr/hmc-cs-2014-0905.pdf) as well as Xoroshiro128+ and Xoshiro256+ by Blackman and Vigna (2018 arXiv:1805.01407). In addition fast functions for generating random numbers according to a uniform, normal and exponential distribution are included. The latter two use the Ziggurat algorithm originally proposed by Marsaglia and Tsang (2000, doi:10.18637/jss.v005.i08). These functions are exported to R and as a C++ interface and are enabled for use with the default 64 bit generator from the PCG family, Xoroshiro128+ and Xoshiro256+ as well as the 64 bit version of the 20 rounds Threefry engine (Salmon et al., 2011 doi:10.1145/2063384.2063405) as provided by the package ‘sitmo’.
There are three methods to install r-cran-dqrng
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-dqrng 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-dqrng
using apt-get
by running the following command:
sudo apt-get -y install r-cran-dqrng
Install r-cran-dqrng Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-dqrng
using apt
by running the following command:
sudo apt -y install r-cran-dqrng
Install r-cran-dqrng 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-dqrng
using aptitude
by running the following command:
sudo aptitude -y install r-cran-dqrng
How To Uninstall r-cran-dqrng on Kali Linux
To uninstall only the r-cran-dqrng
package we can use the following command:
sudo apt-get remove r-cran-dqrng
Uninstall r-cran-dqrng And Its Dependencies
To uninstall r-cran-dqrng
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-dqrng
Remove r-cran-dqrng Configurations and Data
To remove r-cran-dqrng
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-dqrng
Remove r-cran-dqrng configuration, data, and all of its dependencies
We can use the following command to remove r-cran-dqrng
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-dqrng
Dependencies
r-cran-dqrng have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-dqrng
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.