forked from postgres/postgres
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathubuntu-deps.sh
More file actions
executable file
·58 lines (53 loc) · 1.18 KB
/
ubuntu-deps.sh
File metadata and controls
executable file
·58 lines (53 loc) · 1.18 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
#!/bin/bash
set -e
DEPS=(
# Setup
wget
# Build
bison
docbook-xml
docbook-xsl
flex
gettext
libicu-dev
libkrb5-dev
libldap2-dev
liblz4-dev
libpam0g-dev
libperl-dev
libreadline-dev
libselinux1-dev
libssl-dev
libsystemd-dev
libxml2-dev
libxml2-utils
libxslt1-dev
libzstd-dev
lz4
mawk
perl
pkgconf
systemtap-sdt-dev
tcl-dev
uuid-dev
xsltproc
zlib1g-dev
zstd
# Build pg_tde
libcurl4-openssl-dev
# Test
libipc-run-perl
# Test pg_tde
libhttp-server-simple-perl
lcov
# Run pgperltidy
perltidy
)
sudo apt-get update
sudo apt-get install -y ${DEPS[@]}
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
pip3 install meson pykmip cryptography setuptools wheel
# Vault
wget -O - https://apt.releases.hashicorp.com/gpg | sudo tee /etc/apt/keyrings/hashicorp-archive-keyring.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/hashicorp-archive-keyring.asc] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update && sudo apt-get install -y vault