How To Install libapache2-mod-shib2 on Ubuntu 20.04

In this tutorial we learn how to install libapache2-mod-shib2 on Ubuntu 20.04. libapache2-mod-shib2 is transitional package transitional package

Introduction

In this tutorial we learn how to install libapache2-mod-shib2 on Ubuntu 20.04.

What is libapache2-mod-shib2

libapache2-mod-shib2 is:

This is a transitional package. It can safely be removed.

Package: libapache2-mod-shib2 Architecture: all Version: 3.0.4+dfsg1-1build1 Priority: extra Section: universe/web Source: shibboleth-sp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Shib Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 66 Depends: libapache2-mod-shib Filename: pool/universe/s/shibboleth-sp/libapache2-mod-shib2_3.0.4+dfsg1-1build1_all.deb Size: 12068 MD5sum: 819a870a48bee1abe182a4dfb4e2fa9a SHA1: 9a48c26e6aa73a3f09990c99954200ecabdc6cd9 SHA256: 0c8e20815d2db59ab6c7a873c2a5513028f32a1bfafbcc69b9622615333f9f88 Homepage: http://shibboleth.net/ Description-en: transitional package This is a transitional package. It can safely be removed.

There are three methods to install libapache2-mod-shib2 on Ubuntu 20.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-mod-shib2 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-mod-shib2 using apt-get by running the following command:

sudo apt-get -y install libapache2-mod-shib2

Install libapache2-mod-shib2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libapache2-mod-shib2

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

sudo aptitude -y install libapache2-mod-shib2

How To Uninstall libapache2-mod-shib2 on Ubuntu 20.04

To uninstall only the libapache2-mod-shib2 package we can use the following command:

sudo apt-get remove libapache2-mod-shib2

Uninstall libapache2-mod-shib2 And Its Dependencies

To uninstall libapache2-mod-shib2 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libapache2-mod-shib2

Remove libapache2-mod-shib2 Configurations and Data

To remove libapache2-mod-shib2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libapache2-mod-shib2

Remove libapache2-mod-shib2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libapache2-mod-shib2

References

Summary

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