How To Install lighttpd-mod-cml on Ubuntu 20.04

In this tutorial we learn how to install lighttpd-mod-cml on Ubuntu 20.04. lighttpd-mod-cml is cache meta language module for lighttpd cache meta language module for lighttpd

Introduction

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

What is lighttpd-mod-cml

lighttpd-mod-cml is:

With the cache meta language, it is possible to describe to the dependencies of a cached file to its source files/scripts. For the cache files, the scripting language Lua is used.

THIS MODULE IS OBSOLETED, USE mod_magnet INSTEAD.

Package: lighttpd-mod-cml Architecture: amd64 Version: 1.4.55-1ubuntu1 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: 112 Depends: libc6 (>= 2.4), liblua5.1-0, libmemcached11, lighttpd (= 1.4.55-1ubuntu1) Recommends: memcached Filename: pool/universe/l/lighttpd/lighttpd-mod-cml_1.4.55-1ubuntu1_amd64.deb Size: 11108 MD5sum: c4992f443817b2a30ba8622cd562f730 SHA1: 230fa9abe4a335101dd5e088d6d0bf8b70afea99 SHA256: 5079fbe027d15f090ab5874d21c19a97afff1e2d0c03d8a8b7bb0021a6ee9fe0 Homepage: https://www.lighttpd.net/ Description-en: cache meta language module for lighttpd With the cache meta language, it is possible to describe to the dependencies of a cached file to its source files/scripts. For the cache files, the scripting language Lua is used.

THIS MODULE IS OBSOLETED, USE mod_magnet INSTEAD.

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

sudo apt-get -y install lighttpd-mod-cml

Install lighttpd-mod-cml Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lighttpd-mod-cml

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

sudo aptitude -y install lighttpd-mod-cml

How To Uninstall lighttpd-mod-cml on Ubuntu 20.04

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

sudo apt-get remove lighttpd-mod-cml

Uninstall lighttpd-mod-cml And Its Dependencies

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

sudo apt-get -y autoremove lighttpd-mod-cml

Remove lighttpd-mod-cml Configurations and Data

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

sudo apt-get -y purge lighttpd-mod-cml

Remove lighttpd-mod-cml configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lighttpd-mod-cml

References

Summary

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