How To Install liblwp-protocol-https-perl on Debian 10

Learn how to install liblwp-protocol-https-perl on Debian 10 with this tutorial. liblwp-protocol-https-perl is HTTPS driver for LWP

Introduction

In this tutorial we learn how to install liblwp-protocol-https-perl on Debian 10.

What is liblwp-protocol-https-perl

liblwp-protocol-https-perl is:

The LWP::Protocol::https module provides support for using HTTPS schemed URLs with LWP. LWP::Protocol::https is a plug-in to the LWP protocol handling, so you don’t use it directly. Once the module is installed LWP is able to access sites using HTTP over SSL/TLS.

If hostname verification is requested by LWP::UserAgent’s ssl_opts, and neither SSL_ca_file nor SSL_ca_path is set, then SSL_ca_file is implied to be the one provided by ca-certificates.

This module used to be bundled with libwww-perl, but it was unbundled in v6.02 in order to be able to declare its dependencies properly for the CPAN tool-chain. Applications that need HTTPS support can just declare their dependency on LWP::Protocol::https and will no longer need to know what underlying modules to install.

There are three methods to install liblwp-protocol-https-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 liblwp-protocol-https-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 liblwp-protocol-https-perl using apt-get by running the following command:

sudo apt-get -y install liblwp-protocol-https-perl

Install liblwp-protocol-https-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblwp-protocol-https-perl using apt by running the following command:

sudo apt -y install liblwp-protocol-https-perl

Install liblwp-protocol-https-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 liblwp-protocol-https-perl using aptitude by running the following command:

sudo aptitude -y install liblwp-protocol-https-perl

How To Uninstall liblwp-protocol-https-perl on Debian 10

To uninstall only the liblwp-protocol-https-perl package we can use the following command:

sudo apt-get remove liblwp-protocol-https-perl

Uninstall liblwp-protocol-https-perl And Its Dependencies

To uninstall liblwp-protocol-https-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove liblwp-protocol-https-perl

Remove liblwp-protocol-https-perl Configurations and Data

To remove liblwp-protocol-https-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge liblwp-protocol-https-perl

Remove liblwp-protocol-https-perl configuration, data, and all of its dependencies

We can use the following command to remove liblwp-protocol-https-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblwp-protocol-https-perl

Dependencies

liblwp-protocol-https-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install liblwp-protocol-https-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.