forked from carpedm20/SPIRAL-tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·35 lines (30 loc) · 994 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
sudo apt-get install -y build-essential
sudo apt-get install -y libjson-c-dev libgirepository1.0-dev libglib2.0-dev
sudo apt-get install -y python2.7 autotools-dev intltool gettext libtool
sudo apt-get install -y git swig python-setuptools gettext g++
sudo apt-get install -y python-dev python-numpy
sudo apt-get install -y libgtk-3-dev python-gi-dev
sudo apt-get install -y libpng-dev liblcms2-dev libjson-c-dev
sudo apt-get install -y gir1.2-gtk-3.0 python-gi-cairo
mkdir libs
cd libs
if [ ! -d libmypaint ]; then
wget https://github.com/mypaint/libmypaint/releases/download/v1.3.0/libmypaint-1.3.0.tar.xz
tar -xvf libmypaint-1.3.0.tar.xz
mv libmypaint-1.3.0 libmypaint
cd libmypaint
./configure
sudo make install
cd ..
fi
if [ ! -d mypaint ]; then
wget https://github.com/mypaint/mypaint/releases/download/v1.2.1/mypaint-1.2.1.tar.xz
tar -xvf mypaint-1.2.1.tar.xz
mv mypaint-1.2.1 mypaint
cd mypaint
scons
sudo scons install
cd ..
fi
sudo ldconfig