Skip to content

Instantly share code, notes, and snippets.

View lauritssn's full-sized avatar

Laurits Søgaard Nielsen lauritssn

View GitHub Profile
@lauritssn
lauritssn / install-cuda-10-bionic.sh
Created September 28, 2019 18:55 — forked from bogdan-kulynych/install-cuda-10-bionic.sh
Install CUDA 10 on Ubuntu 18.04
#!/bin/bash
# Purge existign CUDA first
sudo apt --purge remove "cublas*" "cuda*"
sudo apt --purge remove "nvidia*"
# Install CUDA Toolkit 10
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub && sudo apt update
sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
@lauritssn
lauritssn / cuda_10.0_installation_on_Ubuntu_18.04
Created September 28, 2019 15:44 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Cuda 10.0 complete installation procedure for ubuntu 18.04 LTS
#!/bin/bash
## This gist contains step by step instructions to install cuda v10.0 and cudnn 7.5 in Ubuntu 18.04
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
@lauritssn
lauritssn / ubuntu1804cuda10.sh
Created September 28, 2019 15:36 — forked from fo40225/ubuntu1804cuda10.sh
install cuda 10 on ubuntu 18.04
echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf > /dev/null
echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf > /dev/null
sudo update-initramfs -u
sudo apt update
sudo apt -y install build-essential
sudo apt update
sudo apt -y install linux-headers-$(uname -r)