wiki:Install

uWSGI Installation (from sources)

From version 0.9.5 the build system of uWSGI is python-based. If you have a variant of make available in your system simply run:

make

If you do not have make (or want to have more control) simply run:

python uwsgiconfig.py --build

You can even use pip to install it (this will always get the latest stable release):

pip install uwsgi

and if you want to install the latest lts (long term support) release:

pip install http://projects.unbit.it/downloads/uwsgi-lts.tar.gz

By default uWSGI needs the python headers and the libxml2 headers.

In a debian/ubuntu system you can install them with:

apt-get install build-essential python-dev libxml2-dev

After successfull build go to Quickstart and Doc

Alternative build profiles

By default (for hystorical reasons) uWSGI is built with python as the only supported language

You can build customized uWSGI servers using build profiles (you find them in the buildconf/ directory)

You can use a specific profile with

python uwsgiconfig --build <profile>

or passing it via UNIX env

UWSGI_PROFILE=lua make

or even

UWSGI_PROFILE=gevent pip install uwsgi