How To Install liburl-encode-perl on Kali Linux
Introduction
In this tutorial we learn how to install liburl-encode-perl on Kali Linux.
What is liburl-encode-perl
liburl-encode-perl is:
URL::Encode provides functions to encode and decode strings into and from the application/x-www-form-urlencoded encoding.
The application/x-www-form-urlencoded format encodes an ordered data set of pairs consisting of a name and a value, with pairs separated by ampersand or semicolon, and names and values separated by the equal sign. Space characters are replaced with a plus sign, and any character not in the unreserved character set is encoded using the percent-encoding scheme also used for resource identifiers. A percent-encoded octet is encoded as a character triplet, consisting of the percent character “%” followed by the two hexadecimal digits representing that octet’s numeric value.
The unreserved character set includes the uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde.
There are three methods to install liburl-encode-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 liburl-encode-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install liburl-encode-perl using apt-get by running the following command:
sudo apt-get -y install liburl-encode-perlInstall liburl-encode-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install liburl-encode-perl using apt by running the following command:
sudo apt -y install liburl-encode-perlInstall liburl-encode-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 liburl-encode-perl using aptitude by running the following command:
sudo aptitude -y install liburl-encode-perlHow To Uninstall liburl-encode-perl on Kali Linux
To uninstall only the liburl-encode-perl package we can use the following command:
sudo apt-get remove liburl-encode-perlUninstall liburl-encode-perl And Its Dependencies
To uninstall liburl-encode-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove liburl-encode-perlRemove liburl-encode-perl Configurations and Data
To remove liburl-encode-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge liburl-encode-perlRemove liburl-encode-perl configuration, data, and all of its dependencies
We can use the following command to remove liburl-encode-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liburl-encode-perlDependencies
liburl-encode-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install liburl-encode-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.