How To Install libapache2-sitecontrol-perl on Ubuntu 18.04

In this tutorial we learn how to install libapache2-sitecontrol-perl on Ubuntu 18.04. libapache2-sitecontrol-perl is perl web site authentication/authorization system

Introduction

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

What is libapache2-sitecontrol-perl

libapache2-sitecontrol-perl is:

Apache2::SiteControl is a set of perl object-oriented classes that implement a fine-grained security control system for a web-based application. The intent is to provide a clear, easy-to-integrate system that does not require the policies to be written into your application components. It attempts to separate the concerns of how to show and manipulate data from the concerns of who is allowed to view and manipulate data and why.

For example, say your web application is written in HTML::Mason. Your individual “screens” are composed of Mason modules, and you would like to keep those as clean as possible, but decisions have to be made about what to allow as the component is processed. SiteControl attempts to make that as easy as possible.

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

sudo apt-get -y install libapache2-sitecontrol-perl

Install libapache2-sitecontrol-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libapache2-sitecontrol-perl

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

sudo aptitude -y install libapache2-sitecontrol-perl

How To Uninstall libapache2-sitecontrol-perl on Ubuntu 18.04

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

sudo apt-get remove libapache2-sitecontrol-perl

Uninstall libapache2-sitecontrol-perl And Its Dependencies

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

sudo apt-get -y autoremove libapache2-sitecontrol-perl

Remove libapache2-sitecontrol-perl Configurations and Data

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

sudo apt-get -y purge libapache2-sitecontrol-perl

Remove libapache2-sitecontrol-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libapache2-sitecontrol-perl

References

Summary

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