How To Install libapache2-mod-md on Ubuntu 20.04

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

Introduction

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

What is libapache2-mod-md

libapache2-mod-md is:

This is a transitional package to apache2 for users of libapache2-mod-md. It can be safely removed after the installation is complete.

Package: libapache2-mod-md Architecture: amd64 Version: 2.4.41-4ubuntu3.3 Priority: optional Section: universe/oldlibs Source: apache2 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Apache Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6 Depends: apache2 (= 2.4.41-4ubuntu3.3) Filename: pool/universe/a/apache2/libapache2-mod-md_2.4.41-4ubuntu3.3_amd64.deb Size: 988 MD5sum: e232f2b651daac83f0e3d7b07496adc5 SHA1: 7b95e31dddc1ee8894141432b405c51439dddf6c SHA256: 8557af3ab388a23caf7dcb81a18c92f30ed19263b00b39c75fd1fc403e58231c SHA512: 6ef70f7f7e67c2e4b84e1e7336b351fe44663470696f3e82842f0a1bfc4747c8efdf3fb9e3649d19efa073ef1989a50abfac4b989f116ae6b67e2547a61d3386 Homepage: https://httpd.apache.org/ Description-en: transitional package This is a transitional package to apache2 for users of libapache2-mod-md. It can be safely removed after the installation is complete.

Package: libapache2-mod-md Architecture: amd64 Version: 2.4.41-4ubuntu3 Priority: optional Section: universe/oldlibs Source: apache2 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Apache Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6 Depends: apache2 (= 2.4.41-4ubuntu3) Filename: pool/universe/a/apache2/libapache2-mod-md_2.4.41-4ubuntu3_amd64.deb Size: 988 MD5sum: 31bb15ad106d05b82da60d66f913d9d8 SHA1: 4f2c6fce7b94c55367203b6d23088fc8116e9fa5 SHA256: bffa199655599c267bada7886d2970deb2d542cd0e5db187f7113a9857cae3ce Homepage: https://httpd.apache.org/ Description-en: transitional package This is a transitional package to apache2 for users of libapache2-mod-md. It can be safely removed after the installation is complete.

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

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

Install libapache2-mod-md Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libapache2-mod-md

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

sudo aptitude -y install libapache2-mod-md

How To Uninstall libapache2-mod-md on Ubuntu 20.04

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

sudo apt-get remove libapache2-mod-md

Uninstall libapache2-mod-md And Its Dependencies

To uninstall libapache2-mod-md 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-md

Remove libapache2-mod-md Configurations and Data

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

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

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

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

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

References

Summary

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