Last active
October 25, 2019 10:20
-
-
Save mister-good-deal/335d7ef3d3ffc6417b75132e818ed2d2 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 reinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dist updates / upgrade | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Sublime Text and CUDA apt channels | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
wget -q https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo dpkg -i 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 -y | |
# Nodejs version 12 (https://github.com/nodesource/distributions/blob/master/README.md) | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
# Install all | |
sudo apt install gcc g++ cmake cmake-qt-gui git php7.2 nodejs apt-transport-https sublime-text cuda bison flex gperf -y | |
# NPM config | |
echo "prefix = ${HOME}/.npm-packages" > ~/.npmrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment