Installing from source
To build uWSGI you need Python and a C compiler (gcc and clang aresupported). Depending on the languages you wish to support you will need theirdevelopment headers. On a Debian/Ubuntu system you can install them (and therest of the infrastructure required to build software) with:
apt-get install build-essential python
And if you want to build a binary with python/wsgi support (as an example)
apt-get install python-dev
If you have a variant of make available in your system you can simply runmake. If you do not have make (or want to have more control) simply run:
python uwsgiconfig.py --build
You can also use pip to install uWSGI (it will build a binary with python support).
# Install the latest stable release:
pip install uwsgi
# ... or if you want to install the latest LTS (long term support) release,
pip install http://projects.unbit.it/downloads/uwsgi-lts.tar.gz
Or you can use ruby gems (it will build a binary with ruby/rack support).
# Install the latest stable release:
gem install uwsgi
At the end of the build, you will get a report of the enabled features. Ifsomething you require is missing, just add the development headers and rerunthe build. For example to build uWSGI with ssl and perl regexp support youneed libssl-dev and pcre headers.