How To Install apache2-doc on Ubuntu 20.04

In this tutorial we learn how to install apache2-doc on Ubuntu 20.04. apache2-doc is Apache HTTP Server (on-site documentation) Apache HTTP Server (on-site documentation) Apache HTTP Server (on-site documentation)

Introduction

In this tutorial we learn how to install apache2-doc on Ubuntu 20.04.

What is apache2-doc

apache2-doc is:

The Apache HTTP Server Project’s goal is to build a secure, efficient and extensible HTTP server as standards-compliant open source software. The result has long been the number one web server on the Internet.

This package provides the documentation for the Apache 2 HTTP server. The documentation is shipped in HTML format and can be accessed from a local running Apache HTTP server instance or by browsing the file system directly.

Package: apache2-doc Architecture: all Version: 2.4.41-4ubuntu3.3 Priority: optional Section: doc 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: 24236 Recommends: apache2 Filename: pool/main/a/apache2/apache2-doc_2.4.41-4ubuntu3.3_all.deb Size: 3847920 MD5sum: f92d68c3fa7e17c5bc2eb23f05652f40 SHA1: f8d09fb5259f3cfd6a656793a33aa57614c230f1 SHA256: 9faae3326a755da1ec163fb2130dc23c398a5bf4417e7e69ba383d7396f5101b SHA512: 9045fa3bf79cf4c34de766490884e4918bcd1bcd6d661f2bbe907f3a822b95a2d747e170cb19033887875d20a8ee3f59bc46be822c396b9448924bf9387f971f Homepage: https://httpd.apache.org/ Description-en: Apache HTTP Server (on-site documentation) The Apache HTTP Server Project’s goal is to build a secure, efficient and extensible HTTP server as standards-compliant open source software. The result has long been the number one web server on the Internet.

This package provides the documentation for the Apache 2 HTTP server. The documentation is shipped in HTML format and can be accessed from a local running Apache HTTP server instance or by browsing the file system directly.

Package: apache2-doc Architecture: all Version: 2.4.41-4ubuntu3 Priority: optional Section: doc 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: 24235 Recommends: apache2 Filename: pool/main/a/apache2/apache2-doc_2.4.41-4ubuntu3_all.deb Size: 3847348 MD5sum: e89b24f156588fa70d6eaf6db64b7d2b SHA1: a9e136ea0a250904cc31bc088293bb74ef75df3d SHA256: cabddbf25d6773750e4d18e62b35ce81a23b3d19fd0e1e2f015db510b9a81cda Homepage: https://httpd.apache.org/ Description-en: Apache HTTP Server (on-site documentation) The Apache HTTP Server Project’s goal is to build a secure, efficient and extensible HTTP server as standards-compliant open source software. The result has long been the number one web server on the Internet.

This package provides the documentation for the Apache 2 HTTP server. The documentation is shipped in HTML format and can be accessed from a local running Apache HTTP server instance or by browsing the file system directly.

There are three methods to install apache2-doc 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 apache2-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install apache2-doc using apt-get by running the following command:

sudo apt-get -y install apache2-doc

Install apache2-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install apache2-doc using apt by running the following command:

sudo apt -y install apache2-doc

Install apache2-doc 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 apache2-doc using aptitude by running the following command:

sudo aptitude -y install apache2-doc

How To Uninstall apache2-doc on Ubuntu 20.04

To uninstall only the apache2-doc package we can use the following command:

sudo apt-get remove apache2-doc

Uninstall apache2-doc And Its Dependencies

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

sudo apt-get -y autoremove apache2-doc

Remove apache2-doc Configurations and Data

To remove apache2-doc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge apache2-doc

Remove apache2-doc configuration, data, and all of its dependencies

We can use the following command to remove apache2-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge apache2-doc

References

Summary

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