File: install-prereqs.sh

package info (click to toggle)
openoverlayrouter 1.3.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: ansic: 42,180; sh: 272; makefile: 268; xml: 11
file content (17 lines) | stat: -rwxr-xr-x 549 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e
set -o pipefail

export DEBIAN_FRONTEND=noninteractive

echo "Upgrading existing packages and installing OOR build prerequisites ..."
# Update packages
apt-get -y -q update
apt-get -y -q -o Dpkg::Options::="--force-confnew" upgrade
# Install build depndencies
apt-get -y -q install build-essential cmake gengetopt libconfuse-dev libzmq3-dev libxml2-dev
# Install GNU debugger
apt-get -y -q install gdb
# Install the Clang compiler to be able to test build with that too
apt-get -y -q install clang
echo "Prerequisites installed."