How To Install libcrypt-pbkdf2-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcrypt-pbkdf2-perl on Kali Linux.
What is libcrypt-pbkdf2-perl
libcrypt-pbkdf2-perl is:
PBKDF2 (part of the PKCS#5 standard) is a secure password hashing algorithm that uses the techniques of “key strengthening” to make the complexity of a brute-force attack arbitrarily high. The Crypt::PBKDF2 module supports SHA-1, SHA-2 and SHA-3 as the underlying hash functions natively and can also use arbitrary Digest-compatible classes. It allows for an arbitrary number of iterations of the hashing function, and a nearly unlimited output hash size (up to 2**32 - 1 times the size of the output of the backend hash). The hash is salted, as any password hash should be, and the salt may also be of arbitrary size.
There are three methods to install libcrypt-pbkdf2-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 libcrypt-pbkdf2-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcrypt-pbkdf2-perl using apt-get by running the following command:
sudo apt-get -y install libcrypt-pbkdf2-perlInstall libcrypt-pbkdf2-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcrypt-pbkdf2-perl using apt by running the following command:
sudo apt -y install libcrypt-pbkdf2-perlInstall libcrypt-pbkdf2-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 libcrypt-pbkdf2-perl using aptitude by running the following command:
sudo aptitude -y install libcrypt-pbkdf2-perlHow To Uninstall libcrypt-pbkdf2-perl on Kali Linux
To uninstall only the libcrypt-pbkdf2-perl package we can use the following command:
sudo apt-get remove libcrypt-pbkdf2-perlUninstall libcrypt-pbkdf2-perl And Its Dependencies
To uninstall libcrypt-pbkdf2-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcrypt-pbkdf2-perlRemove libcrypt-pbkdf2-perl Configurations and Data
To remove libcrypt-pbkdf2-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcrypt-pbkdf2-perlRemove libcrypt-pbkdf2-perl configuration, data, and all of its dependencies
We can use the following command to remove libcrypt-pbkdf2-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcrypt-pbkdf2-perlDependencies
libcrypt-pbkdf2-perl have the following dependencies:
- libdigest-hmac-perl
- libdigest-sha3-perl
- libmodule-runtime-perl
- libmoo-perl
- libnamespace-autoclean-perl
- libstrictures-perl
- libtry-tiny-perl
- libtype-tiny-perl
- perl
References
Summary
In this tutorial we learn how to install libcrypt-pbkdf2-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.