uwsgi-core command not found

In this troubleshooting guide we learn how to fix uwsgi-core command not found error message

Introduction

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

uwsgi-core: command not found

or when using sudo you get the following error message

sudo: uwsgi-core: command not found

Solutions to uwsgi-core: command not found

How To Fix uwsgi-core: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu uwsgi-core is provided by uwsgi-core package.

uwsgi-core is:

uWSGI presents a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management. It uses the uwsgi protocol for all the networking/interprocess communications.

uWSGI can be run in preforking, threaded, asynchronous/evented modes and supports various forms of green threads/coroutines (such as uGreen, Greenlet, Fiber). uWSGI provides several methods of configuration: via command line, via environment variables, via XML, INI, YAML configuration files, via LDAP and more.

On top of all this, 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 core uWSGI binary (built without any embedded plugins) and plugins with no or few dependencies:

  • cache
  • carbon
  • cgi
  • cheaper_backlog2
  • cheaper_busyness
  • clock_monotonic
  • clock_realtime
  • corerouter
  • echo
  • emperor_amqp
  • emperor_zeromq
  • fastrouter
  • forkptyrouter
  • http
  • logcrypto
  • logfile
  • logpipe
  • logsocket
  • logzmq
  • mongrel2
  • msgpack
  • nagios
  • notfound
  • pam
  • ping
  • pty
  • rawrouter
  • redislog
  • router_basicauth
  • router_cache
  • router_expires
  • router_hash
  • router_http
  • router_memcached
  • router_metrics
  • router_radius
  • router_redirect
  • router_redis
  • router_rewrite
  • router_static
  • router_uwsgi
  • router_xmldir
  • rpc
  • rrdtool
  • rsyslog
  • signal
  • spooler
  • ssi
  • sslrouter
  • stats_pusher_file
  • stats_pusher_socket
  • stats_pusher_statsd
  • symcall
  • syslog
  • systemd_logger
  • transformation_chunked
  • transformation_gzip
  • transformation_offload
  • transformation_template
  • transformation_tofile
  • transformation_toupper
  • tuntap
  • ugreen
  • webdav
  • xattr
  • zabbix
  • zergpool

forkptyrouter, systemd and tuntap are provided only on supported architectures.

Developing external uWSGI plugin requires the package uwsgi-dev.

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

sudo apt-get -y install uwsgi-core

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

You can also use apt command to install uwsgi-core.

sudo apt -y install uwsgi-core

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

sudo aptitude install uwsgi-core

Summary

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