How To Install liburl-encode-perl on Debian 10
Introduction
In this tutorial we learn how to install liburl-encode-perl
on Debian 10.
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 Debian 10. 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 update
After updating apt database, We can install liburl-encode-perl
using apt-get
by running the following command:
sudo apt-get -y install liburl-encode-perl
Install liburl-encode-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liburl-encode-perl
using apt
by running the following command:
sudo apt -y install liburl-encode-perl
Install liburl-encode-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install liburl-encode-perl
using aptitude
by running the following command:
sudo aptitude -y install liburl-encode-perl
How To Uninstall liburl-encode-perl on Debian 10
To uninstall only the liburl-encode-perl
package we can use the following command:
sudo apt-get remove liburl-encode-perl
Uninstall liburl-encode-perl And Its Dependencies
To uninstall liburl-encode-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove liburl-encode-perl
Remove liburl-encode-perl Configurations and Data
To remove liburl-encode-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge liburl-encode-perl
Remove 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-perl
Dependencies
liburl-encode-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install liburl-encode-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.