civetweb command not found

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

Introduction

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

civetweb: command not found

or when using sudo you get the following error message

sudo: civetweb: command not found

Solutions to civetweb: command not found

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

In Ubuntu civetweb is provided by civetweb package.

civetweb is:

CivetWeb is an easy to use, powerful, C (C/C++) embeddable web server with optional CGI, SSL and Lua support. CivetWeb has a MIT license so you can innovate without restrictions.

CivetWeb can be used by developers as a library, to add web server functionality to an existing application.

It can also be used by end users as a stand-alone web server running on a Windows or Linux PC. It is available as single executable, no installation is required.

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

sudo apt-get -y install civetweb

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

You can also use apt command to install civetweb.

sudo apt -y install civetweb

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

sudo aptitude install civetweb

Summary

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