How To Install libdata-entropy-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdata-entropy-perl on Kali Linux.
What is libdata-entropy-perl
libdata-entropy-perl is:
Data::Entropy maintains a concept of a current selection of entropy source. Algorithms that require entropy can use the source nominated by this module, avoiding the need for entropy source objects to be explicitly passed around. This is convenient because usually one entropy source will be used for an entire program run and so an explicit entropy source parameter would rarely vary. There is also a default entropy source, avoiding the need to explicitly configure a source at all.
If nothing is done to set a source then it defaults to the use of Rijndael (AES) in counter mode (see Data::Entropy::RawSource::CryptCounter and Crypt::Rijndael), keyed using Perl’s built-in rand function. This gives a data stream that looks like concentrated entropy, but really only has at most the entropy of the rand seed. Within a single run it is cryptographically difficult to detect the correlation between parts of the pseudo-entropy stream. If more true entropy is required then it is necessary to configure a different entropy source.
There are three methods to install libdata-entropy-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 libdata-entropy-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libdata-entropy-perl using apt-get by running the following command:
sudo apt-get -y install libdata-entropy-perlInstall libdata-entropy-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libdata-entropy-perl using apt by running the following command:
sudo apt -y install libdata-entropy-perlInstall libdata-entropy-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 updateAfter updating apt database, We can install libdata-entropy-perl using aptitude by running the following command:
sudo aptitude -y install libdata-entropy-perlHow To Uninstall libdata-entropy-perl on Kali Linux
To uninstall only the libdata-entropy-perl package we can use the following command:
sudo apt-get remove libdata-entropy-perlUninstall libdata-entropy-perl And Its Dependencies
To uninstall libdata-entropy-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdata-entropy-perlRemove libdata-entropy-perl Configurations and Data
To remove libdata-entropy-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdata-entropy-perlRemove libdata-entropy-perl configuration, data, and all of its dependencies
We can use the following command to remove libdata-entropy-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdata-entropy-perlDependencies
libdata-entropy-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdata-entropy-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.