How To Install libapache2-mpm-itk on Ubuntu 18.04

In this tutorial we learn how to install libapache2-mpm-itk on Ubuntu 18.04. libapache2-mpm-itk is multiuser module for Apache

Introduction

In this tutorial we learn how to install libapache2-mpm-itk on Ubuntu 18.04.

What is libapache2-mpm-itk

libapache2-mpm-itk is:

The mpm-itk module, although not technically a Multi-Processing Module (MPM) (although it used to be) enhances the classical “prefork” module (that is, without threads), in such a way that it allows you to constrain each individual vhost to a particular system user and group. This allows you to run several different web sites on a single server without worrying that they will be able to read each others’ files. mpm-itk is largely independent of e.g. what scripting technology is in use on your server; in particular, it does not require you to run your scripts as CGI to get the extra security benefit.

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

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

sudo apt-get update

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

sudo apt-get -y install libapache2-mpm-itk

Install libapache2-mpm-itk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libapache2-mpm-itk using apt by running the following command:

sudo apt -y install libapache2-mpm-itk

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

sudo aptitude -y install libapache2-mpm-itk

How To Uninstall libapache2-mpm-itk on Ubuntu 18.04

To uninstall only the libapache2-mpm-itk package we can use the following command:

sudo apt-get remove libapache2-mpm-itk

Uninstall libapache2-mpm-itk And Its Dependencies

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

sudo apt-get -y autoremove libapache2-mpm-itk

Remove libapache2-mpm-itk Configurations and Data

To remove libapache2-mpm-itk configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libapache2-mpm-itk

Remove libapache2-mpm-itk configuration, data, and all of its dependencies

We can use the following command to remove libapache2-mpm-itk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libapache2-mpm-itk

References

Summary

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