-
Notifications
You must be signed in to change notification settings - Fork 441
Expand file tree
/
Copy pathhostsetup.sh
More file actions
executable file
·94 lines (82 loc) · 1.79 KB
/
hostsetup.sh
File metadata and controls
executable file
·94 lines (82 loc) · 1.79 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
#!/bin/bash
set -e
echo "========================================"
echo "Host updating packages"
echo "----------------------------------------"
apt update
echo "----------------------------------------"
echo "========================================"
echo "Add repositories"
echo "----------------------------------------"
apt install -y software-properties-common
add-apt-repository ppa:ubuntu-toolchain-r/test
echo "----------------------------------------"
echo
echo "========================================"
echo "Host install packages"
echo "----------------------------------------"
apt install -y \
autoconf \
automake \
bash \
bison \
binutils \
binutils-gold \
build-essential \
capnproto \
clang \
exuberant-ctags \
curl \
doxygen \
flex \
fontconfig \
gdb \
git \
gperf \
gzip \
libcairo2-dev \
libcapnp-dev \
libgtk-3-dev \
libevent-dev \
libfontconfig1-dev \
liblist-moreutils-perl \
libncurses5-dev \
libx11-dev \
libxft-dev \
libxml++2.6-dev \
libreadline-dev \
python2 \
python3 \
python3-dev \
python3-pip \
python3-virtualenv \
python3-yaml \
tcllib \
tcl8.6-dev \
libffi-dev \
perl \
texinfo \
time \
valgrind \
zip \
qtbase5-dev \
uuid-dev \
default-jdk \
g++-9 \
gcc-9 \
wget \
openssl \
libssl-dev \
libtbb-dev
# installing the latest version of cmake
apt install -y apt-transport-https ca-certificates gnupg
wget -qO - https://apt.kitware.com/keys/kitware-archive-latest.asc |apt-key add -
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ jammy main'
apt update
apt install -y cmake
export PATH="$PATH:/home/kbuilder/.local/bin"
export CC=gcc-9
export CXX=g++-9
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
echo "----------------------------------------"