How To Install librandom123-dev on Kali Linux
Introduction
In this tutorial we learn how to install librandom123-dev on Kali Linux.
What is librandom123-dev
librandom123-dev is:
Random123 is a family of highly parallelizable counter-based random number generators (CBRNGs) that are useful for a wide range of applications.
Random123 is a library of “counter-based” random number generators (CBRNGs), in which the Nth random number can be obtained by applying a stateless mixing function to N instead of the conventional approach of using N iterations of a stateful transformation. CBRNGs are ideal for a wide range of applications on modern multi-core CPUs, GPUs, clusters, and special-purpose hardware. Three families of non-cryptographic CBRNGs are described in a paper presented at the SC11 conference: ARS (based on the Advanced Encryption System (AES)), Threefry (based on the Threefish encryption function), and Philox (based on integer multiplication). They all satisfy rigorous statistical testing (passing BigCrush in TestU01), vectorize and parallelize well (each generator can produce at least 2^64 independent streams), have long periods (the period of each stream is at least 2^128), require little or no memory or state, and have excellent performance (a few clock cycles per byte of random output). The Random123 library can be used with CPU (C and C++) and GPU (CUDA and OpenCL) applications.
There are three methods to install librandom123-dev 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 librandom123-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install librandom123-dev using apt-get by running the following command:
sudo apt-get -y install librandom123-devInstall librandom123-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install librandom123-dev using apt by running the following command:
sudo apt -y install librandom123-devInstall librandom123-dev 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 updateAfter updating apt database, We can install librandom123-dev using aptitude by running the following command:
sudo aptitude -y install librandom123-devHow To Uninstall librandom123-dev on Kali Linux
To uninstall only the librandom123-dev package we can use the following command:
sudo apt-get remove librandom123-devUninstall librandom123-dev And Its Dependencies
To uninstall librandom123-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove librandom123-devRemove librandom123-dev Configurations and Data
To remove librandom123-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge librandom123-devRemove librandom123-dev configuration, data, and all of its dependencies
We can use the following command to remove librandom123-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librandom123-devDependencies
librandom123-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install librandom123-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.