Project

General

Profile

SITools2 Installation on Debian 9 » History » Version 4

Herve Ballans, 04/04/2017 16:48

1 1 Herve Ballans
h1. SITools2 Installation on Debian 9
2 1 Herve Ballans
3 1 Herve Ballans
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).
4 4 Herve Ballans
To be reproduced on the SITools2 VMs where version 9 will be released "stable"...
5 1 Herve Ballans
6 1 Herve Ballans
h2. Installation of openjdk-7
7 1 Herve Ballans
8 1 Herve Ballans
SITools2 is incompatible with Java 8
9 1 Herve Ballans
We have to install Java 7. The procedure is a little bit tricky cause the openjdk-7 package doesn't exist for Debian 9.
10 1 Herve Ballans
11 4 Herve Ballans
First, we add a repository containing the package (experimental!) for Stretch (caliu repository) :
12 4 Herve Ballans
13 2 Imène Lajili
<pre>
14 2 Imène Lajili
cat /etc/apt/sources.list
15 2 Imène Lajili
# deb http://inf-mirror/debian/ stretch main
16 2 Imène Lajili
17 2 Imène Lajili
deb http://inf-mirror/debian/ stretch main contrib non-free
18 2 Imène Lajili
deb-src http://inf-mirror/debian/ stretch main contrib non-free
19 2 Imène Lajili
20 2 Imène Lajili
deb http://ftp.caliu.cat/debian/ experimental main contrib non-free
21 2 Imène Lajili
deb-src http://ftp.caliu.cat/debian/ experimental main contrib non-free
22 2 Imène Lajili
23 2 Imène Lajili
deb http://security.debian.org/debian-security stretch/updates main
24 2 Imène Lajili
deb-src http://security.debian.org/debian-security stretch/updates main
25 2 Imène Lajili
26 1 Herve Ballans
</pre>
27 2 Imène Lajili
28 4 Herve Ballans
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 :
29 2 Imène Lajili
https://packages.debian.org/fr/sid/amd64/libjpeg8/download
30 2 Imène Lajili
31 2 Imène Lajili
<pre>
32 1 Herve Ballans
dpkg -i libjpeg8_8d1-2_amd64.deb
33 1 Herve Ballans
</pre>
34 4 Herve Ballans
35 4 Herve Ballans
Finally, just do :
36 2 Imène Lajili
37 2 Imène Lajili
<pre>
38 2 Imène Lajili
aptitude install openjdk-7-jdk
39 2 Imène Lajili
</pre>
40 2 Imène Lajili
41 1 Herve Ballans
h2. Installation of SITools2
42 3 Imène Lajili
43 3 Imène Lajili
To install Sitools2, simply follow the instructions provided by the installation guide available in  sitools official github site: 
44 3 Imène Lajili
https://github.com/SITools2/SITools2-core