How To Install libapache-htgroup-perl on Ubuntu 18.04

In this tutorial we learn how to install libapache-htgroup-perl on Ubuntu 18.04. libapache-htgroup-perl is interface to Apache authentication group files

Introduction

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

What is libapache-htgroup-perl

libapache-htgroup-perl is:

Apache::Htgroup provides methods to manage the membership of Apache authentication groups.

Please note that this is not a mod_perl module. Please also note that there is another module that does similar things (HTTPD::UserManage) and that this is a more simplistic module, not doing all the things that one does.

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

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

Install libapache-htgroup-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libapache-htgroup-perl

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

sudo aptitude -y install libapache-htgroup-perl

How To Uninstall libapache-htgroup-perl on Ubuntu 18.04

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

sudo apt-get remove libapache-htgroup-perl

Uninstall libapache-htgroup-perl And Its Dependencies

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

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

Remove libapache-htgroup-perl Configurations and Data

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

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

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

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

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

References

Summary

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