uwsgi_emperor_pg command not found

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

Introduction

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

uwsgi_emperor_pg: command not found

or when using sudo you get the following error message

sudo: uwsgi_emperor_pg: command not found

Solutions to uwsgi_emperor_pg: command not found

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

In Ubuntu uwsgi_emperor_pg is provided by uwsgi-plugin-emperor-pg package.

uwsgi-plugin-emperor-pg is:

uWSGI presents a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management. It is designed to be fully modular. This means that different plugins can be used in order to add compatibility with tons of different technology on top of the same core.

This package provides emperor_pg plugin for uWSGI.

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

sudo apt-get -y install uwsgi-plugin-emperor-pg

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

You can also use apt command to install uwsgi-plugin-emperor-pg.

sudo apt -y install uwsgi-plugin-emperor-pg

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

sudo aptitude install uwsgi-plugin-emperor-pg

Summary

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