aboutsummaryrefslogtreecommitdiff
path: root/install_ubuntu_amd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install_ubuntu_amd.sh')
-rwxr-xr-xinstall_ubuntu_amd.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/install_ubuntu_amd.sh b/install_ubuntu_amd.sh
new file mode 100755
index 0000000..5af70dc
--- /dev/null
+++ b/install_ubuntu_amd.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+script_dir=$(dirname "$0")
+cd "$script_dir"
+
+[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
+
+set -e
+apt-get -y install build-essential\
+ libswresample-dev libavformat-dev libavcodec-dev libavutil-dev libavfilter-dev\
+ libglvnd-dev libx11-dev libxcomposite-dev libxrandr-dev\
+ libpulse-dev libva2 libegl-mesa0 mesa-va-drivers
+
+./install.sh