How To Install libbsd-arc4random-perl on Kali Linux
Introduction
In this tutorial we learn how to install libbsd-arc4random-perl on Kali Linux.
What is libbsd-arc4random-perl
libbsd-arc4random-perl is:
The BSD::arc4random module provides a Perl API for the arc4random(3) suite of functions and a few natively implemented functions.
Exposed functions are: have_kintf (ability to push entropy back to the kernel); arc4random, arc4random_bytes, arc4random_uniform, the RANDOM variable (get entropy); arc4random_stir (next time used, some entropy from the kernel is first requested); arc4random_addrandom (add user data to SRNG state); arc4random_push[bk] (push user data to kernel RNG if supported; add kernel data or, if not supported, user data to SRNG); the ability to “tie” variables to this module for retrieving and storing entropy (e.g. in $RANDOM).
There are three methods to install libbsd-arc4random-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 libbsd-arc4random-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libbsd-arc4random-perl using apt-get by running the following command:
sudo apt-get -y install libbsd-arc4random-perlInstall libbsd-arc4random-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libbsd-arc4random-perl using apt by running the following command:
sudo apt -y install libbsd-arc4random-perlInstall libbsd-arc4random-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 libbsd-arc4random-perl using aptitude by running the following command:
sudo aptitude -y install libbsd-arc4random-perlHow To Uninstall libbsd-arc4random-perl on Kali Linux
To uninstall only the libbsd-arc4random-perl package we can use the following command:
sudo apt-get remove libbsd-arc4random-perlUninstall libbsd-arc4random-perl And Its Dependencies
To uninstall libbsd-arc4random-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libbsd-arc4random-perlRemove libbsd-arc4random-perl Configurations and Data
To remove libbsd-arc4random-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libbsd-arc4random-perlRemove libbsd-arc4random-perl configuration, data, and all of its dependencies
We can use the following command to remove libbsd-arc4random-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbsd-arc4random-perlDependencies
libbsd-arc4random-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libbsd-arc4random-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.