wiki:Downloads

Version 4 (modified by Miloš Jakubíček, 9 years ago) (diff)

fix typo

Downloads

Latest stable release

Bonito2 Manatee Finlib
source tarballs targz targz [recommended; all-included]
targz[standalone without finlib]
targz
RPM (Fedora 14) targz targz [recommended; all-included] targz
DEB (Ubuntu 10.04) targz targz [recommended; all-included] targz

Requirements

  • Linux 2.6.x/libc6, POSIX-compliant operating systems should work as well, Windows might work or not.
  • We strongly recommend 64bit operating system, for 32bit systems only corpora with <2G tokens are supported.
  • 1 GHz processor and 1 GB of memory at least (4 GB recommended for normal usage, 8 GB for accessing large [=over 1G of tokens] corpora)
  • free disk space according to what corpora you are going to use
  • Antlr 3 C runtime version 3.2 or higher, http://www.antlr.org/download/C/
  • PCRE library, http://www.pcre.org/
  • Python 2.6
  • Cheetah template system http://www.cheetahtemplate.org/
  • Apache2 (or any other CGI-capable) webserver

Installation instructions

We recommend using the binary packages if they are available for your operating system.

Building from sources

Installing prerequisities

  • install antlr3 C runtime version 3.2 or higher, either from your distribution package (available for Fedora >= 12, Ubuntu >= 11.04) or from sources:
    • download libantlr3c-3.2.tar.gz from http://www.antlr.org/download/C/
    • tar xzvf libantlr3c-3.2.tar.gz; cd libantlr3c-3.2
      • on 64bit systems: ./configure --enable-64bit --disable-abiflags; make
      • on 32bit systems: ./configure --disable-abiflags; make
    • as root, type make install; ldconfig
  • install the PCRE library, either from you distribution package or from sources:
    • download pcre-<version>.tar.gz from http://www.pcre.org
    • tar xzvf pcre-<version>.tar.gz; cd pcre-<version>
    • ./configure --enable-unicode-properties --enable-utf8; make
    • as root, type make install; ldconfig
  • install Python 2.6 (Python 2.4 and 2.5 should work as well, but may not be supported in future releases), preferably from you distribution package or follow instructions on http://www.python.org
  • install the Cheetah templating system (version 2 or higher), either from your distribution package or from sources:
    • download Cheetah-<version>.tar.gz from http://cheetahtemplate.org
    • tar xzvf Cheetah-<version>.tar.gz; cd Cheetah-<version>
    • as root, type python setup.py install
  • install Apache2 or any other webserver that you will point to Bonito2 CGI scripts

Installing Finlib

You need to install Finlib only in the case that you decide not to download the bundled (statically linked) version of Manatee including Finlib. In this case, you should download finlib-<version>.tar.gz and proceed as follows:

  • tar xzvf finlib-<version>.tar.gz; cd finlib-<version>
  • ./configure --with-pcre; make
  • as root, type make install; ldconfig

Installing Manatee

Download manatee-open-bundled-<version>.tar.gz (including Finlib) or manatee-open-<version>.tar.gz (without Finlib; needs to be installed separately as described above).

  • tar xzvf manatee-open-<version>.tar.gz; cd manatee-open-<version>
  • ./configure --with-pcre; make
  • as root, type make install; ldconfig

Installing Bonito2

Download bonito2-open-<version>.tar.gz and proceed as follows:

  • tar xzvf bonito2-open-<version>.tar.gz; cd bonito2-open-<version>
  • ./configure; make
  • as root, type make install; ./setupbonito2 <CGIPATH> <DATAPATH> where CGIPATH is the your webserver CGI directory and DATAPATH is a data directory writable by the webserver.

Installing binary packages

Post-installation steps

Depending on what corpora you have and where they are located you have to edit the file $CGIPATH/run.cgi file (when installing from packages, this file is located in var/www/bonito2/run.cgi):

  • the line corplist = ['susanne', 'bnc'] contains a list of available corpora
  • the line corpname = 'bnc' sets the default corpus
  • the line os.environ['MANATEE_REGISTRY'] = '/corpora/registry' is the path to the directory with corpus configuration files

After that, you should start your webserver if it is not running yet (try /etc/init.d/apache2 start or /etc/init.d/httpd start) and you should be able to access Sketch Engine via your regular web browser by typing localhost/bonito into the address bar.