Install NVIDIA Driver and CUDA on Ubuntu 16.04

By June 13, 2017Crypto Mining, NVIDIA

These instructions are to Install NVIDIA Driver and CUDA on Ubuntu 16.04.

Part 1: Install NVIDIA Driver


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

REBOOT

Part 2 : Install CUDA


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

Join the discussion 5 Comments

Leave a Reply