This repository was archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathinstall-shared-deps.sh
More file actions
64 lines (59 loc) · 1.43 KB
/
install-shared-deps.sh
File metadata and controls
64 lines (59 loc) · 1.43 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
#!/usr/bin/env bash
# Script for shared dependencies
set -o errexit -o pipefail -o nounset
apt-get update -y && apt-get install -y software-properties-common
add-apt-repository -y ppa:valhalla-core/valhalla && apt-get update -y
apt-get install -y \
autoconf \
automake \
ccache \
clang-5.0 \
clang-tidy-5.0 \
coreutils \
curl \
g++ \
gcc \
git \
jq \
lcov \
libboost-all-dev \
libcurl4-openssl-dev \
libgeos++-dev \
libgeos-dev \
liblua5.2-dev \
liblz4-dev \
libprime-server0.6.3-dev \
libprotobuf-dev \
libspatialite-dev \
libsqlite3-dev \
libsqlite3-mod-spatialite \
libtool \
locales \
lua5.2 \
make \
ninja-build \
osmium-tool \
parallel \
pkg-config \
prime-server0.6.3-bin \
protobuf-compiler \
python-all-dev \
python-minimal \
python3-all-dev \
python3-minimal \
spatialite-bin \
unzip \
vim-common \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
# install node
mkdir -p ${NVM_DIR}
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
. $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default
# install cmake
curl https://cmake.org/files/v3.16/cmake-3.16.0-Linux-$(uname --machine).sh > /tmp/cmake.sh
sh /tmp/cmake.sh --prefix=/usr/local --skip-license && /bin/rm /tmp/cmake.sh
cmake --version