Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install cuda driver in ubuntu

sudo apt-get install linux-headers-$(uname -r)
distribution=$(. /etc/os-release;echo $ID$VERSION_ID | sed -e 's/.//g')
arch=$(arch)
wget https://developer.download.nvidia.com/compute/cuda/repos/$distribution/$arch/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
# wget https://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64/cuda-$distribution.pin
# sudo mv cuda-$distribution.pin /etc/apt/preferences.d/cuda-repository-pin-600
# sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64/3bf863cc.pub
# echo "deb http://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64 /" | sudo tee /etc/apt/sources.list.d/cuda.list
sudo apt-get update
sudo apt-get -y install cuda cuda-drivers
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install cuda on ubuntu 
Shell :: git add origin command 
Shell :: debian 9.4 telnet install 
Shell :: how to revert to last git commit 
Shell :: pip install rasterio 
Shell :: git commit and add in one command 
Shell :: xampp apache not starting 
Shell :: how to install homebrew on mac 
Shell :: powershell change directory 
Shell :: brew upgrade all casks 
Shell :: create flutter project command line 
Shell :: delete a file from repo history 
Shell :: how to update to latest version of chrome in ubuntu 17.04 
Shell :: git push template 
Shell :: git remove ignored files 
Shell :: how to create a shortcut to a folder on linux 
Shell :: add credentials git linux 
Shell :: how to install nvm in ubuntu 
Shell :: how to get the files using the most storage ubuntu 
Shell :: docker kill running container(s) 
Shell :: move the file from one linux user to another 
Shell :: git set upstream repository 
Shell :: error: src refspec develop does not match any 
Shell :: check if a command exists 
Shell :: powershell restart computer 
Shell :: Ubuntu – Root folder access via gui 
Shell :: chmod 400 in powershell 
Shell :: download telegram for ubuntu 
Shell :: remove folder with content cmd 
Shell :: php extension php.ini 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =