fcgiwrap command not found

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

Introduction

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

fcgiwrap: command not found

or when using sudo you get the following error message

sudo: fcgiwrap: command not found

Solutions to fcgiwrap: command not found

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

In Ubuntu fcgiwrap is provided by fcgiwrap package.

fcgiwrap is:

fcgiwrap is a simple server for running CGI applications over FastCGI. Its goal is to provide clean CGI support to the nginx webserver, although can be used with others.

fcgiwrap is lightweight and has no configuration, making it possible to use the same pool to run different sites.

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

sudo apt-get -y install fcgiwrap

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

You can also use apt command to install fcgiwrap.

sudo apt -y install fcgiwrap

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

sudo aptitude install fcgiwrap

Summary

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