diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-06 15:27:45 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-06 15:27:45 +0200 |
commit | 5b26291269aa0b2d2a489b0d7b167d084a52aaed (patch) | |
tree | 7e766fc71e652a678e4cca8a368c4e50546a8f20 /install_ubuntu.sh | |
parent | 5cdb2df3d7433974dbabcf152dede43106ee5b42 (diff) |
Update info about cuda
Diffstat (limited to 'install_ubuntu.sh')
-rwxr-xr-x | install_ubuntu.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 0e36542..af1af43 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -5,11 +5,8 @@ cd "$script_dir" [ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1 -dpkg -l nvidia-cuda-dev > /dev/null 2>&1 -cuda_missing="$?" - set -e -apt-get -y install build-essential nvidia-cuda-dev\ +apt-get -y install build-essential\ libswresample-dev libavformat-dev libavcodec-dev libavutil-dev\ libgl-dev libx11-dev libxcomposite-dev\ libpulse-dev @@ -24,4 +21,3 @@ install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder" install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder" echo "Successfully installed gpu-screen-recorder" -[ "$cuda_missing" -eq 1 ] && echo "You need to reboot your computer before using gpu-screen-recorder because cuda was installed" |