Skip to content

Instantly share code, notes, and snippets.

@lackdaz
Last active December 2, 2020 00:39
Show Gist options
  • Save lackdaz/1714437ff526b5f0fb9df3c0bb91c7b8 to your computer and use it in GitHub Desktop.
Save lackdaz/1714437ff526b5f0fb9df3c0bb91c7b8 to your computer and use it in GitHub Desktop.
ML Installation steps for Linux

Instructions for dual boot: https://askubuntu.com/questions/726972/dual-boot-windows-10-and-linux-ubuntu-on-separate-hard-drives

sudo apt install tmux build-essential gcc g++ make.

sudo apt-get install g++ freeglut3-dev build-essential libx11-dev \ libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev

Go here: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=2004&target_type=deblocal`.

sudo apt install cuda cuda-drivers

sudo apt install nvidia-cuda-toolkit

export CUDA_HOME=/usr/local/cuda
export PATH=${CUDA_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH

Settings up cross compile

sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
sudo adduser $USER libvirt
sudo adduser $USER libvirt-qemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment