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 :: uninstall dependency npm 
Shell :: yarn install raspberry pi 
Shell :: check .conf file error apache 
Shell :: install formik 
Shell :: git search all commits for string 
Shell :: how to revert a merge locally 
Shell :: resolve merge conflicts git 
Shell :: bash if substring in string 
Shell :: crontab save 
Shell :: afficher le contenu de la variable path 
Shell :: brew command not found 
Shell :: install expo react native 
Shell :: git check ssh local 
Shell :: pip install requireents 
Shell :: change default branch github 
Shell :: compress a folder in ubuntu 
Shell :: env variable for access key and secret key in terraform 
Shell :: close tcp port on mac 
Shell :: docker compose up only one service 
Shell :: bash compare two files 
Shell :: vim count ocurrences 
Shell :: unable to find docker images locally 
Shell :: how to check command history in linux with date and time 
Shell :: make nextcloud scan for files 
Shell :: get path of command 
Shell :: windows change hostname 
Shell :: kernel headers were not found vmware kali linux 
Shell :: bash upgrade cmake (From Source) 
Shell :: firebase hosting 
Shell :: install latex 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =