Project

General

Profile

SITools2 Installation on Debian 9 » History » Version 4

« Previous - Version 4/10 (diff) - Next » - Current version
Herve Ballans, 04/04/2017 16:48


SITools2 Installation on Debian 9

For maintenance reasons (especially system updates), we test the installation of SITools2 on the last version of debian (Stretch which is currently not yet stable).
To be reproduced on the SITools2 VMs where version 9 will be released "stable"...

Installation of openjdk-7

SITools2 is incompatible with Java 8
We have to install Java 7. The procedure is a little bit tricky cause the openjdk-7 package doesn't exist for Debian 9.

First, we add a repository containing the package (experimental!) for Stretch (caliu repository) :

cat /etc/apt/sources.list
# deb http://inf-mirror/debian/ stretch main

deb http://inf-mirror/debian/ stretch main contrib non-free
deb-src http://inf-mirror/debian/ stretch main contrib non-free

deb http://ftp.caliu.cat/debian/ experimental main contrib non-free
deb-src http://ftp.caliu.cat/debian/ experimental main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

But the installation doen't work due to the missing of libjpeg8 library in Stretch. In order to solve this libjpeg8 problem, we have to install the 'sid' package version, here :
https://packages.debian.org/fr/sid/amd64/libjpeg8/download

dpkg -i libjpeg8_8d1-2_amd64.deb

Finally, just do :

aptitude install openjdk-7-jdk

Installation of SITools2

To install Sitools2, simply follow the instructions provided by the installation guide available in sitools official github site:
https://github.com/SITools2/SITools2-core