aboutsummaryrefslogtreecommitdiff
path: root/install_ubuntu_amd.sh
diff options
context:
space:
mode:
authorSteam Deck User <deck@archlinux.steamdeck>2023-04-01 19:23:34 +0200
committerSteam Deck User <deck@archlinux.steamdeck>2023-04-01 19:23:34 +0200
commit9f0b98dc5e0a1598751deef8c8ed7dfefa660f85 (patch)
tree4cb5312ae40883098d79656d1b04cdc4cd1a1e13 /install_ubuntu_amd.sh
parentc720d38978b6697b94fa9bca0913370bbc5bb61c (diff)
Add install script for amd/intel for ubuntu
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