diff options
author | Steam Deck User <deck@archlinux.steamdeck> | 2023-04-01 19:23:34 +0200 |
---|---|---|
committer | Steam Deck User <deck@archlinux.steamdeck> | 2023-04-01 19:23:34 +0200 |
commit | 9f0b98dc5e0a1598751deef8c8ed7dfefa660f85 (patch) | |
tree | 4cb5312ae40883098d79656d1b04cdc4cd1a1e13 /install_ubuntu_nvidia.sh | |
parent | c720d38978b6697b94fa9bca0913370bbc5bb61c (diff) |
Add install script for amd/intel for ubuntu
Diffstat (limited to 'install_ubuntu_nvidia.sh')
-rwxr-xr-x | install_ubuntu_nvidia.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install_ubuntu_nvidia.sh b/install_ubuntu_nvidia.sh new file mode 100755 index 0000000..d776c93 --- /dev/null +++ b/install_ubuntu_nvidia.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 libxnvctrl0 libnvidia-compute libnvidia-encode libnvidia-fbc1 + +./install.sh |