forked from OpenHD/OpenHD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_dep_ubuntu20.sh
executable file
·20 lines (15 loc) · 919 Bytes
/
install_dep_ubuntu20.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
# Install all the dependencies needed to build OpenHD from source.
# This is for the xxx_build_test.yml github CI or when setting up a development environment
# PLEASE KEEP THIS FILE AS CLEAN AS POSSIBLE, Ubuntu20 is one baseline - for other platforms / OS versions, create their own files
sudo apt -y install cmake build-essential autotools-dev automake libtool autoconf \
libpcap-dev libsodium-dev \
libboost-dev libboost-filesystem-dev \
libusb-1.0-0-dev \
libv4l-dev \
libnl-3-dev libnl-genl-3-dev libnl-route-3-dev || exit 1
# Gstreamer is separate from the "rest".
# Note that there is no compile time validation for all the elements required by gstreamer
sudo apt -y install libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly || exit 1
# Needed for RC, optional
sudo apt -y install libsdl2-dev