uData requires Python 2.7 (installed by default on OSX and many Linux distributions), its development tools and some libraries to be installed (with their headers). Most of them might already be installed as they are common development dependencies. The full dependencies list is:
- Pillow (Image processing)
- lxml dependencies
- Misc dependencies
- liblzma (required to load GeoZones)
- libyaml (not mandatory but speed up the yaml processing)
By the time this project was started, Python 3 did not have great third dependencies support and some requirements weren’t suported yet so it was started with Python 2.7.
On any Debian-like system you can install the development tools and libraries with:
$ apt-get install build-essential pkg-config python python-dev python-pip python-virtualenv\ libjpeg-dev zlib1g-dev libtiff5-dev libfreetype6-dev \ liblcms2-dev libopenjpeg-dev libwebp-dev libpng12-dev \ libxml2-dev libxslt1-dev liblzma-dev libyaml-dev
On Mac OSX with Homebrew, you can install the development tools and libraries with:
$ brew install automake autoconf libtool pkg-config python \ libjpeg zlib libtiff freetype littlecms openjpeg webp libpng \ libxml2 libxslt xz libyaml
MongoDB, ElasticSearch and Redis¶
Elasticsearch requires the Analysis ICU plugin for your specific version.
The installation process is very specific to your operating system and will depend on your configuration, join us on Gitter if you have any issue.
On Debian, you need to add the appropriate apt repository:
deb https://packages.elastic.co/elasticsearch/2.x/debian stable main
and install it like any other Debian package (You might need to enable Debian Backport repository)
plugin command is located in the
For example, on Debian Jessie, you will have to perform (as root):
$ echo "deb https://packages.elastic.co/elasticsearch/2.x/debian stable main" \ > /etc/apt/sources.list.d/elasticsearch.list $ echo "deb http://http.debian.net/debian jessie-backports main contrib non-free" \ > /etc/apt/sources.list.d/debian-backports.list $ apt-get update $ apt-get install elasticsearch $ /usr/share/elasticsearch/bin/plugin install analysis-icu $ service elasticsearch restart
If you are using Homebrew (OSX):
$ brew install elasticsearch $ /usr/local/Cellar/elasticsearch/2.4.1/libexec/bin/plugin install analysis-icu