lighttpd-disable-mod command not found

In this troubleshooting guide we learn how to fix lighttpd-disable-mod command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lighttpd-disable-mod: command not found

or when using sudo you get the following error message

sudo: lighttpd-disable-mod: command not found

Solutions to lighttpd-disable-mod: command not found

How To Fix lighttpd-disable-mod: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lighttpd-disable-mod is provided by lighttpd package.

lighttpd is:

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

  • CGI, FastCGI and SSI
  • virtual hosts
  • URL rewriting
  • authentication (plain files, htpasswd, LDAP)
  • transparent content compression
  • conditional configuration
  • HTTP proxying and configuration is straight-forward and easy.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lighttpd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lighttpd.

sudo apt -y install lighttpd

Or if you have aptitude installed you can use the following command.

sudo aptitude install lighttpd

Summary

In this tutorial we learn how to fix lighttpd-disable-mod command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.