Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

cuda install 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 :: install cuda driver in ubuntu 
Shell :: uninstall dependency npm 
Shell :: where are paint 3d files saved 
Shell :: how to install mongoose globally 
Shell :: brew uninstall 
Shell :: delete a branch from remote 
Shell :: wget install windows cmd 
Shell :: download homebrew windows 
Shell :: raspberry wifi scan 
Shell :: amplify remove environment 
Shell :: gunicorn windows 
Shell :: git remove all pdf files 
Shell :: sudo apt-get ignore warning 
Shell :: git push functions code 
Shell :: git remote repository not found vs code 
Shell :: how to list all versions of pip in ubuntu using grep 
Shell :: split string using linux cmd 
Shell :: install aws cli version 2 on mac 
Shell :: bash merge pdf 
Shell :: git push an existing repository from the command line 
Shell :: install termius ubuntu 
Shell :: ubuntu server lamp installation 
Shell :: linux terminal speed test 
Shell :: install kde partition manager 
Shell :: w10 reboot cmf 
Shell :: How to start a service with systemctl command 
Shell :: htpasswd add user 
Shell :: get first line of output bash 
Shell :: redis remove key 
Shell :: php enable extension lphp.ini 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =