-
Notifications
You must be signed in to change notification settings - Fork 5
/
install_modules.sh
executable file
·83 lines (62 loc) · 1.45 KB
/
install_modules.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/bash
PWD=`pwd`
execcomm() {
eval $1
ec=$?
if [ $ec -gt 0 ] ; then
echo "An error occurs during installation. Please refer to the error messages above"
exit $ec;
fi
}
execcomm "sudo apt-get install autoconf python-dev libxslt1-dev python-gtk2-dev libwebkitgtk-dev libsqlite3-dev gtk2-engines-pixbuf libgnome-keyring-dev coq ocaml python-xlib"
for i in {0..9}
do
execcomm "sudo useradd tab$i"
done
execcomm "sudo useradd output"
xhost `whoami`
sudo groupadd quarkusers
sudo usermod -a -G quarkusers `whoami`
sudo usermod -g quarkusers `whoami`
cd $PWD
cd ./pywebkitgtk-1.1.8
execcomm "autoconf"
execcomm "automake"
execcomm "./configure"
execomm "make -j8"
execcomm "sudo make -j8 install"
cd $PWD
cd ./libsoup-2.34.0
execcomm "./configure"
execcomm "make -j8"
execcomm "sudo make -j8 install"
cd $PWD
mkdir $PWD
mkdir lib
cd ./lib
wget http://goto.ucsd.edu/quark/python-passfd-0.2.tar.gz
tar xvfz python-passfd-0.2.tar.gz
cd python-passfd-0.2
execcomm "make -j8"
execcomm "sudo make -j8 install"
cd $PWD
cd ./lib
wget http://goto.ucsd.edu/quark/shm-1.2.2.tar.gz
tar xvfz shm-1.2.2.tar.gz
cd shm-1.2.2
chmod +x setup.py
execcomm "sudo ./setup.py install"
cd $PWD
cd ./lib
wget http://goto.ucsd.edu/quark/Imaging-1.1.7.tar.gz
tar xvfz Imaging-1.1.7.tar.gz
cd Imaging-1.1.7
chmod +x setup.py
execcomm "sudo ./setup.py install"
cd $PWD
cd ./python-browser-8/
execcomm make
cd $PWD
cd ./kernel/
./install_ynot.sh
execcomm make buildall