4store

This page documents the installation of 4Store on Debian 6.0.6 (Squeeze). It is based on:
 * https://github.com/openplanets/scout/wiki/Install-and-use-4store
 * http://4store.org/trac/wiki/Dependencies

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: 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
 * 1) Testing and unstable

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"; Then 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