Skip to content

Instantly share code, notes, and snippets.

@tirkarthi
Created October 26, 2017 11:09
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 tirkarthi/b9afa613be8d59e2928466fd96f25e49 to your computer and use it in GitHub Desktop.
Save tirkarthi/b9afa613be8d59e2928466fd96f25e49 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Install zsh and oh my zsh
sudo apt-get install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# Install emacs
sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot
# install utilities
sudo apt-get install -y tmux vim git tree jq rlwrap silversearcher-ag
install_languages () {
# Install Java 8
sudo apt-get install openjdk-8-jre openjdk-8-jdk
# Install python dev and pip for python 3
sudo apt-get -y install python3-setuptools python3-dev build-essential python3-pip
# Install python dev and pip for python 2
sudo apt-get -y install python-setuptools python-dev python-pip
# Install lein
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
sudo chmod +x lein
sudo cp lein /usr/local/bin/
# Install dmd
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
wget -qO - https://dlang.org/d-keyring.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install -y dmd-bin
curl https://sh.rustup.rs -sSf | sh
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment