-
Notifications
You must be signed in to change notification settings - Fork 35
Installation
Takehiro YOSHIHAMA edited this page Jul 5, 2016
·
11 revisions
This document is old, so please read README.md or USAGE.md.
Flare depends on Tokyo Cabinet. Installation of Tokyo Cabinet is very simple and see also document of Tokyo Cabinet.
Flare also depends on boost, so please install boost in advance.
Installation of Flare itself is also simple ("configure -> make -> make install" will do).
$ git clone https://github.com/gree/flare.git
$ cd flare
$ git checkout X.X.X # If you need to specify version.
$ ./configure --with-boost=/usr/local/boost --with-tokyocabinet=/usr/local/tokyocabinet --prefix=/usr/local/flare
$ make
$ sudo make install
(adjust configure options to your installation path)
Some configuration is required before running, so please check tutorial.
please "apt-get install" before installation of additional packages and Flare.
$ sudo aptitude install zlib1g libbz2-1.0 liblzo2-2 libboost-all-dev
Download deb files according to your architecture (i386 or amd64), and "dpkg -i".
$ wget 'http://gree.github.io/flare/files/libzookeeper-mt2_3.3.5+dfsg1-2_amd64.deb'
$ sudo dpkg -i libzookeeper-mt2_3.3.5+dfsg1-2_amd64.deb
$ wget 'http://gree.github.io/flare/files/libkyotocabinet16_1.2.76-5+squeeze1_amd64.deb'
$ sudo dpkg -i libkyotocabinet16_1.2.76-5+squeeze1_amd64.deb
$ wget 'http://gree.github.io/flare/files/libtokyocabinet9_1.4.48+squeeze3_amd64.deb'
$ sudo dpkg -i libtokyocabinet9_1.4.48+squeeze3_amd64.deb
$ wget 'http://gree.github.io/flare/files/libhashkit2_1.0.8-1+squeeze1_amd64.deb'
$ sudo dpkg -i libhashkit2_1.0.8-1+squeeze1_amd64.deb
All packages are available at https://github.com/gree/flare/tree/gh-pages/files.
It's also simple:
$ wget 'http://gree.github.io/flare/files/flare_1.1.0-1+squeeze1_amd64.deb'
$ sudo dpkg -i flare_1.1.0-1+squeeze1_amd64.deb
and please see also Tutorial.