How To Install libembperl-perl on Ubuntu 18.04

In this tutorial we learn how to install libembperl-perl on Ubuntu 18.04. libembperl-perl is system for building dynamic websites with Perl

Introduction

In this tutorial we learn how to install libembperl-perl on Ubuntu 18.04.

What is libembperl-perl

libembperl-perl is:

Embperl gives you the power to embed Perl code in your HTML/XML documents and the ability to build your Web site out of small reusable objects in an object-oriented style. You can also take advantage of all the usual Perl modules, (including DBI for database access) use their functionality and easily include their output in your web pages.

Embperl has several features which are especially useful for creating Websites, including dynamic tables, form field processing, URL escaping/unescaping, session handling, caching, XSLT transformation and more. See http://www.embperl.org/embperl/ for more information about Embperl.

This package contains Apache2, FastCGI, CGI and offline versions of Embperl, although you may need to install some additional packages to use some of those modes. Please note that when running under mod_perl, Embperl requires Apache’s prefork mpm module and will not work with the more recent worker mpm.

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

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

sudo apt-get -y install libembperl-perl

Install libembperl-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libembperl-perl

Install libembperl-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libembperl-perl

How To Uninstall libembperl-perl on Ubuntu 18.04

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

sudo apt-get remove libembperl-perl

Uninstall libembperl-perl And Its Dependencies

To uninstall libembperl-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libembperl-perl

Remove libembperl-perl Configurations and Data

To remove libembperl-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libembperl-perl

Remove libembperl-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libembperl-perl

References

Summary

In this tutorial we learn how to install libembperl-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.