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 :: Could not find an NgModule. Use the skip-import option to skip importing in NgModule. 
Shell :: how to git pull origin master 
Shell :: store credential cache git 
Shell :: sum column bash 
Shell :: download sublime notepad ubuntu 
Shell :: linux find all files name containing string 
Shell :: get .net version 
Shell :: homebrew for windows 
Shell :: linux find installation location 
Shell :: Create a desktop file ubuntu 
Shell :: how to install apache2 on ubuntu 20.04 
Shell :: tensorflow install size 
Shell :: commitlint, husky, commitzen 
Shell :: linux create executable 
Shell :: anaconda windows terminal 
Shell :: find rm files older than 30 days 
Shell :: fuser install linux 
Shell :: download visual studio 2019 for ubuntu 
Shell :: rpi install chomedriver 
Shell :: django.core.exceptions.ImproperlyConfigured: Requested setting ROOT_URLCONF, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. 
Shell :: adb kill all emulators 
Shell :: delete branch github 
Shell :: setup git config for multiple accounts 
Shell :: nextcloud scan files 
Shell :: get path ubuntu 
Shell :: git clone commit hash 
Shell :: fix kde root themes 
Shell :: linux delete files older than 
Shell :: install ruby on ubuntu 
Shell :: pass parameters to bash script 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =