Skip to content

Instantly share code, notes, and snippets.

@SergioLaRosa
Created April 20, 2018 17:20
Show Gist options
  • Save SergioLaRosa/f467f532100f5bddcf5a298a762ddb23 to your computer and use it in GitHub Desktop.
Save SergioLaRosa/f467f532100f5bddcf5a298a762ddb23 to your computer and use it in GitHub Desktop.
Minimal dev enviroment setup script (Ubuntu-based distro only)
#Written by Sergio La Rosa ([email protected])
#https://gist.github.com/SergioLaRosa/
printf "#######################################"
printf "\n### UBUNTU WORKSTATION SETUP SCRIPT ###"
printf "\n#######################################\n"
printf "\n[+] The script downloads and install the following packages:\n"
printf "* pip3\n"
printf "* python3 setup/packaging tools (dist, twine)\n"
printf "* nano\n"
printf "* Sublime Text 3\n"
printf "* htop\n"
printf "* terminator\n"
printf "* <...>\n"
read -p "\n[!] Continue (y/n)? " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
printf "\n[+] Begin installation..."
printf "\n[+] Installing pip3..."
sudo apt-get -y install python3-pip
printf "\n[+] Installing python3 setup/packaging tools..."
sudo pip install -U pip setuptools twine
printf "\n[+] Installing nano..."
sudo apt-get -y install nano
printf "\n[+] Installing htop..."
sudo apt-get -y install htop
printf "\n[+] Installing terminator..."
sudo apt-get -y install terminator
printf "\n[+] Installing Sublime Text 3..."
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get -y install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get -y install sublime-text
printf "\n[+] Done."
fi
printf "\n\n### DONE."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment