-
Notifications
You must be signed in to change notification settings - Fork 2
/
install4ubuntu.sh
56 lines (53 loc) · 1.08 KB
/
install4ubuntu.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
#!/usr/bin/env bash
set -e # exit on error
set -u # treat refs to unassigned vars as errors
set -o pipefail # still consider errors before a pipe to be an error
sudo apt update
sudo apt -yq install \
curl \
wget \
vim \
git \
dpkg-dev \
make \
cmake \
g++ \
gcc \
binutils \
ccache \
libx11-dev \
libxpm-dev \
libxft-dev \
libxext-dev \
gfortran \
libssl-dev \
libpcre3-dev \
libglu1-mesa-dev \
libgl1-mesa-dev \
libglew-dev \
libmysqlclient-dev \
libfftw3-dev graphviz-dev \
libavahi-compat-libdnssd-dev \
libldap2-dev \
python3 \
python-is-python3 \
python3-dev \
python-dev-is-python3 \
python3-pip \
libxml2-dev \
libkrb5-dev \
libgsl-dev \
qt5-default \
libpng-dev \
libjpeg-dev \
g++-multilib \
libc6-dev-i386 \
libxmu-dev \
libxmu-headers \
libxt-dev
cd $HOME
if [[ ! -d megalib ]]; then
git clone https://github.com/zoglauer/megalib.git
fi
cd megalib
bash setup.sh --release=dev --patch=yes --clean=yes --branch=experimental