How To Install libapache-ssllookup-perl on Debian 9

In this tutorial we learn how to install libapache-ssllookup-perl on Debian 9. libapache-ssllookup-perl is glue layer between Perl handlers and the mod_ssl public API

Introduction

In this tutorial we learn how to install libapache-ssllookup-perl on Debian 9.

What is libapache-ssllookup-perl

libapache-ssllookup-perl is:

Apache::SSLLookup is a glue layer between Perl handlers and the mod_ssl public API. Under normal circumstances, you would use $r->subprocess_env() to glean information about mod_ssl. for example,

$request_is_over_ssl = $r->subprocess_env(‘HTTPS’);

however, this is only possible after mod_ssl runs its fixups - that is, Perl handlers can only accurately check the subprocess_env table for mod_ssl information in the PerlResponsePhase or later.

This module allows you to query mod_ssl directly via its public C API at any point in the request cycle. but without using C, of course.

There are three methods to install libapache-ssllookup-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libapache-ssllookup-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 libapache-ssllookup-perl using apt-get by running the following command:

sudo apt-get -y install libapache-ssllookup-perl

Install libapache-ssllookup-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libapache-ssllookup-perl using apt by running the following command:

sudo apt -y install libapache-ssllookup-perl

Install libapache-ssllookup-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 libapache-ssllookup-perl using aptitude by running the following command:

sudo aptitude -y install libapache-ssllookup-perl

How To Uninstall libapache-ssllookup-perl on Debian 9

To uninstall only the libapache-ssllookup-perl package we can use the following command:

sudo apt-get remove libapache-ssllookup-perl

Uninstall libapache-ssllookup-perl And Its Dependencies

To uninstall libapache-ssllookup-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libapache-ssllookup-perl

Remove libapache-ssllookup-perl Configurations and Data

To remove libapache-ssllookup-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libapache-ssllookup-perl

Remove libapache-ssllookup-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libapache-ssllookup-perl

Dependencies

libapache-ssllookup-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libapache-ssllookup-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.