From Biowikifarm Metawiki
Jump to: navigation, search

This page documents the installation of 4Store on Debian 6.0.6 (Squeeze). It is based on:

Currently, 4Store is included in testing (Wheezy), but not stable (Squeeze). So the first step is to add testing to sources.list.

sudo vi /etc/apt/sources.list

add lines:

# Testing and unstable 
deb http://ftp.de.debian.org/debian testing main non-free contrib
deb-src http://ftp.de.debian.org/debian testing main
deb http://ftp.de.debian.org/debian unstable main non-free contrib
deb-src http://ftp.de.debian.org/debian unstable main

Then, ensure that we always install from stable if possible by creating a file in /etc/apt/apt.conf.d/

sudo vi /etc/apt/apt.conf.d/30preferstable

and adding the line

APT::Default-Release "stable";


sudo apt-get upgrade
sudo apt-get install -t testing 4Store

(Without "-t testing", apt-get will want to install all dependencies from stable, but 4Store needs the newer versions of libpcre3 and librasqal3.)

To test the installation, follow the instructions at http://4store.org/trac/wiki/GettingStarted

Still needed: how to create a database when not root ; creating a 4store.conf file.

Addition on 18.3.2013 creation of default metadata file:

sudo su root
chown -R fourstore: /var/lib/4store /var/log/4store
su - fourstore -s /bin/sh -c "4s-backend-setup default"