Installation » History » Version 4
« Previous -
Version 4/9
(diff) -
Next » -
Current version
Elmer de Looff, 2013-03-21 15:57
µWeb is developed on, and intended primarily to run on Debian GNU-Linux. As such, installation instructions will focus on getting µWeb running on that family of platforms
Installation¶
The easiest way to install µWeb is to get it from the Python Package Index (https://pypi.python.org/pypi/uWeb). For most Linux there is a commandline application pip
which facilitaties easy installation of packages from the Package Index. To begin, install pip
on Debian:
sudo apt-get install python-pip
After this, µWeb can be installed with the following command:
sudo pip install uweb
This pulls in all the necessary requirements automatically and installs and configures them for you.
MySQL support¶
µWeb requires a MySQL connector binary, which pip
will attempt to compile from source for you. If this is undesired (because it requires development headers for MySQL and Python, and some other packages), this MySQL requirement can be fulfilled by installing that package separately:
sudo apt-get install python-mysqldb