wiki:Downloads

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

older releases

Downloads

Latest stable release

Bonito2 Manatee Finlib
source tarballs bonito2-open-2.62.3.tar.gz manatee-bundle-open-2.33.1.tar.gz [recommended; finlib included]
manatee-open-2.33.1.tar.gz [without finlib]
finlib-2.11.tar.gz
RPM Fedora 14
Fedora 13
Fedora 14
Fedora 13
Fedora 14
Fedora 13
DEB Ubuntu Lucid 10.04 LTS Ubuntu Lucid 10.04 LTS Ubuntu Lucid 10.04 LTS

Older releases

Older releases can be found at TextForge.cz

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
  • if you want to use Manatee API for Perl/Ruby/Java?, you'll need to install relevant libraries
  • 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-bundle-open-<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

RPM

http://fedoraproject.org/w/uploads/2/2d/Logo_fedoralogo.png http://wiki.centos.org/ArtWork/Logo/Horizontal http://upload.wikimedia.org/wikipedia/en/thumb/6/6c/RedHat.svg/200px-RedHat.svg.png

The RPM packages have been compiled for Fedora 13 and 14 (contain "fc14" in their names), RHEL 5/CentOS 5 (contain "el5" in their names) but should be usable other RPM-based Linux distributions (Mandriva, OpenSUSE/SUSE etc.) as well. Each RPM package name contains either "i686" (32bit) or "x86_64" (64bit) or "noarch" (can be used on both 32bit and 64bit). Currently we release packages for 64bit systems only.

  • on Fedora type as root: yum install antlr3-C pcre libtool-ltdl httpd python-cheetah
  • on CentOS/RHEL type as root: yum install pcre httpd libtool-ltdl python-cheetah
  • on other RPM-based distributions, install corresponding packages or refer to the prerequisities of source archive installation.

After that, download and install via rpm -ivh finlib-<version>.rpm manatee-open-<version>.rpm manatee-open-python-<version>.rpm bonito2-<version>.rpm bonito2-www-<version>.rpm

DEB

https://wiki.ubuntu.com/Brand

The DEB packages have been compiled for Ubuntu 10.04 Lucid Lynx but should be usable on most DEB-based Linux distributions (Debian etc.). Each DEB package name contains either "i386" (32bit) or "amd64" (64bit) or "all" (can be used on both 32bit and 64bit). Currently we release packages for 64bit systems only.

  • on Ubuntu type as root: apt-get install libpcre3 libpcre++-dev apache2 python-cheetah
  • on other DEB-based distributions, install corresponding packages or refer to the prerequisities of source archive installation.

After that, download and install via dpkg -i finlib-<version>.deb manatee-open-<version>.deb manatee-open-python-<version>.deb bonito2-<version>.deb bonito2-www-<version>.deb

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.