Skip to content

Instantly share code, notes, and snippets.

@kusayuzayushko
Last active October 26, 2017 20:50
Show Gist options
  • Select an option

  • Save kusayuzayushko/70243eb13746350a15c068f945dedd55 to your computer and use it in GitHub Desktop.

Select an option

Save kusayuzayushko/70243eb13746350a15c068f945dedd55 to your computer and use it in GitHub Desktop.
nv-upgrade-387.12.sh
#!/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