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 :: change username ubuntu 
Shell :: awk print 3rd column 
Shell :: conda install line_profiler 
Shell :: how to stop a program from running linux 
Shell :: pdf to jpg terminal 
Shell :: could not find tools.jar linux 
Shell :: bash delete file 
Shell :: brew install xcode 
Shell :: linux whereis command 
Shell :: brew upgrade casks 
Shell :: git reflog reset 
Shell :: how many repositories can be created in github 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: @mui/material npm 
Shell :: git command line discard changes 
Shell :: gitlab ci yml example 
Shell :: git delete branch upstream 
Shell :: how to install nvm in ubuntu 18.04 
Shell :: windows terminal guid 
Shell :: install torch 1.7.1 
Shell :: apt install jack audio 
Shell :: remove port iptables 
Shell :: socket.io-client 
Shell :: how to upgrader vscodium 
Shell :: get path of command ubuntu 
Shell :: openssh linux mint 
Shell :: git push asking for username after setting up ssh key 
Shell :: push with token github 
Shell :: create new repo 
Shell :: cmp in linux 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =