How To Install lighttpd-doc on Ubuntu 20.04

In this tutorial we learn how to install lighttpd-doc on Ubuntu 20.04. lighttpd-doc is documentation for lighttpd documentation for lighttpd

Introduction

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

What is lighttpd-doc

lighttpd-doc is:

lighttpd is a small webserver and fast webserver developed with security in mind and a lot of features.

This package contains documentation for lighttpd.

Package: lighttpd-doc Architecture: all Version: 1.4.55-1ubuntu1 Multi-Arch: foreign Priority: optional Section: universe/web Source: lighttpd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian lighttpd maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 170 Suggests: lighttpd Filename: pool/universe/l/lighttpd/lighttpd-doc_1.4.55-1ubuntu1_all.deb Size: 95684 MD5sum: 7f2e23365c238e93e23da3b248f553b7 SHA1: 2db8137bfe753feb6b3f009784a642bbc4cb2b64 SHA256: a3dc41c64881700de509dec2a803edbaca166365934ae1ea1d180de88fdd0c0a Homepage: https://www.lighttpd.net/ Description-en: documentation for lighttpd lighttpd is a small webserver and fast webserver developed with security in mind and a lot of features.

This package contains documentation for lighttpd.

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

sudo apt-get -y install lighttpd-doc

Install lighttpd-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lighttpd-doc

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

sudo aptitude -y install lighttpd-doc

How To Uninstall lighttpd-doc on Ubuntu 20.04

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

sudo apt-get remove lighttpd-doc

Uninstall lighttpd-doc And Its Dependencies

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

sudo apt-get -y autoremove lighttpd-doc

Remove lighttpd-doc Configurations and Data

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

sudo apt-get -y purge lighttpd-doc

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

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

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

References

Summary

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