Skip to content

Instantly share code, notes, and snippets.

@andcarnivorous
Last active August 27, 2019 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andcarnivorous/5ab1981a0f2e7fcffabb8fecc7912d1d to your computer and use it in GitHub Desktop.
Save andcarnivorous/5ab1981a0f2e7fcffabb8fecc7912d1d to your computer and use it in GitHub Desktop.
sudo apt-get update && sudo apt-get upgrade
sudo echo "Well, well, well... Look who fucked the system up again, reinstalling..."
echo "Installing cuda and cudnn"
sudo apt-get install -y system76-cuda-latest system76-cudnn-10.1 cmake
echo "installing python stuff"
sudo apt-get install -y python3-pip python3-pip
sudo pip3 install torch torchvision
sudo apt-get install -y python3-pandas python3-seaborn python3-matplotlib
echo "Installing Emacs and more..."
sudo apt-get install -y emacs vlc telegram-desktop
echo "Installing Lua and Torch..."
sudo apt-get install -y lua5.2 libreadline-dev
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps,
./install.sh
source ~/.bashrc
cd ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment