How To Install eperl on Debian 9

In this tutorial we learn how to install eperl on Debian 9. eperl is Embedded Perl 5 Language

Introduction

In this tutorial we learn how to install eperl on Debian 9.

What is eperl

eperl is:

ePerl interprets an ASCII file bristled with Perl 5 program statements by evaluating the Perl 5 code while passing through the plain ASCII data. It can operate in various ways: As a stand-alone Unix filter or integrated Perl 5 module for general file generation tasks and as a powerful Webserver scripting language for dynamic HTML page programming.

There are three methods to install eperl 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 eperl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install eperl using apt-get by running the following command:

sudo apt-get -y install eperl

Install eperl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install eperl using apt by running the following command:

sudo apt -y install eperl

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

sudo aptitude -y install eperl

How To Uninstall eperl on Debian 9

To uninstall only the eperl package we can use the following command:

sudo apt-get remove eperl

Uninstall eperl And Its Dependencies

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

sudo apt-get -y autoremove eperl

Remove eperl Configurations and Data

To remove eperl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge eperl

Remove eperl configuration, data, and all of its dependencies

We can use the following command to remove eperl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge eperl

Dependencies

eperl have the following dependencies:

References

Summary

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