How To Install libmath-random-tt800-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmath-random-tt800-perl
on Kali Linux.
What is libmath-random-tt800-perl
libmath-random-tt800-perl is:
Math::Random::TT800 provides an implementation of Makoto Matsumoto and Takuji Nishimura’s pseudorandom number generator (PRNG) algorithm called TT800. It is similar to some other fantastic PRNG algorithms such as the Mersenne Twister (see libmath-random-mt-perl) and ISAAC (see libmath-random-isaac-perl). This particular implementation is particularly notable because it has no external dependencies aside from Perl itself.
The algorithm itself is described in Matsumoto’s article published in ACM Transactions on Modelling and Computer Simulation, Volume 4, Issue 3, 1994, pages 254-266.
This algorithm is similar to the Mersenne Twister algorithm but uses a smaller array to hold state information (25 elements compared to MT’s 624). Consequently, the period is much smaller - 2^800-1 versus MT’s 2^19937-1. The period of ISAAC is 2^8295 values on average.
There are three methods to install libmath-random-tt800-perl
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 libmath-random-tt800-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmath-random-tt800-perl
using apt-get
by running the following command:
sudo apt-get -y install libmath-random-tt800-perl
Install libmath-random-tt800-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmath-random-tt800-perl
using apt
by running the following command:
sudo apt -y install libmath-random-tt800-perl
Install libmath-random-tt800-perl 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 libmath-random-tt800-perl
using aptitude
by running the following command:
sudo aptitude -y install libmath-random-tt800-perl
How To Uninstall libmath-random-tt800-perl on Kali Linux
To uninstall only the libmath-random-tt800-perl
package we can use the following command:
sudo apt-get remove libmath-random-tt800-perl
Uninstall libmath-random-tt800-perl And Its Dependencies
To uninstall libmath-random-tt800-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmath-random-tt800-perl
Remove libmath-random-tt800-perl Configurations and Data
To remove libmath-random-tt800-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmath-random-tt800-perl
Remove libmath-random-tt800-perl configuration, data, and all of its dependencies
We can use the following command to remove libmath-random-tt800-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmath-random-tt800-perl
Dependencies
libmath-random-tt800-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmath-random-tt800-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.