Last active
October 26, 2017 20:50
-
-
Save kusayuzayushko/70243eb13746350a15c068f945dedd55 to your computer and use it in GitHub Desktop.
nv-upgrade-387.12.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo killall -9 screen | |
| sudo killall -9 Xorg | |
| cd /var/tmp || echo "Cannot enter temporal directory"; exit | |
| sudo umount -l /tmp | |
| sudo mount -t tmpfs -o size=1G,mode=1777 overflow /tmp | |
| rm -f NVIDIA* | |
| wget http://us.download.nvidia.com/XFree86/Linux-x86_64/387.12/NVIDIA-Linux-x86_64-387.12.run | |
| chmod +x NVIDIA-Linux-x86_64-387.12.run | |
| sudo ./NVIDIA-Linux-x86_64-387.12.run --ui=none --no-questions --accept-license --no-kernel-module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment