uwsgi_geoip command not found

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

Introduction

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

uwsgi_geoip: command not found

or when using sudo you get the following error message

sudo: uwsgi_geoip: command not found

Solutions to uwsgi_geoip: command not found

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

In Ubuntu uwsgi_geoip is provided by uwsgi-plugin-geoip package.

uwsgi-plugin-geoip 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 geoip plugin for uWSGI.

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

sudo apt-get -y install uwsgi-plugin-geoip

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

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

sudo apt -y install uwsgi-plugin-geoip

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

sudo aptitude install uwsgi-plugin-geoip

Summary

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