mini_httpd command not found

In this troubleshooting guide we learn how to fix mini_httpd command not found error message

Introduction

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

mini_httpd: command not found

or when using sudo you get the following error message

sudo: mini_httpd: command not found

Solutions to mini_httpd: command not found

How To Fix mini_httpd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mini_httpd is provided by mini-httpd package.

mini-httpd is:

mini-httpd implements all basic features of a HTTPD, including: GET,HEAD,POST methods, common MIME types, basic authentication, virtual hosting, CGI, directory listing, trailing-slash redirection, standard logging, custom error pages etc. It also can be configured to do SSL and IPv6.

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

sudo apt-get -y install mini-httpd

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

You can also use apt command to install mini-httpd.

sudo apt -y install mini-httpd

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

sudo aptitude install mini-httpd

Summary

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