These instructions are to Install NVIDIA Driver and CUDA on Ubuntu 16.04.
Part 1: Install NVIDIA Driver
[raw]echo “NVIDIA Driver Install Starting to Deploy”
echo ‘Acquire::ForceIPv4 “true”;’ | sudo tee /etc/apt/apt.conf.d/99force-ipv4
apt-get update -y
apt-get dist-upgrade -y
sudo apt-get install -y build-essential ufw fail2ban htop nano unzip git libcurl4-openssl-dev git automake pkg-config software-properties-common libssl-dev
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.66/NVIDIA-Linux-x86_64-375.66.run
chmod +x NVIDIA-Linux-x86_64-375.66.run
sh NVIDIA-Linux-x86_64-375.66.run -q -a -n -X -s
[/raw]
REBOOT
Part 2 : Install CUDA
[raw]wget -4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
apt-get update
apt-get install -y cuda
Fixes:
install cuda ubuntu 16
cuda installation
cuda installer ubuntu
apt install cuda
ubuntu 16 cuda installation
ubuntu 16.04 cuda 8
cuda 8
As an added aside, I highly recommend adding some info about doing this from a virtual terminal.
service lightdm needs to be disabled first on my machine. This is done by hitting shift-cntrl+f1 and
after logging in
sudo service lightdm stop
then proceeding with the above.
When finished,
sudo service lightdm start
Then hit shift +cntrl+f7 or alt > a few times to return to the GUI