Skip to content

Instantly share code, notes, and snippets.

@hauleth
Last active August 29, 2015 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hauleth/11214944 to your computer and use it in GitHub Desktop.
Save hauleth/11214944 to your computer and use it in GitHub Desktop.
Developer machine installation script
#!/bin/bash
# Add repositories
sudo add-apt-repository -y "deb http://repository.spotify.com stable non-free"
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:fish-shell/nightly-master
echo "deb http://downloads.hipchat.com/linux/apt stable main" | sudo tee \
/etc/apt/sources.list.d/atlassian-hipchat.list
sudo add-apt-repository -y ppa:linrunner/tlp
sudo apt-add-repository -y ppa:pipelight/stable
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo add-apt-repository -y ppa:danjaredg/jayatana
sudo add-apt-repository -y ppa:apt-fast/stable
wget -O- https://www.hipchat.com/keys/hipchat-linux.key | sudo apt-key add -
# Update packages
sudo apt-get update
# Remove unneded software
sudo apt-get -y purge thunderbird
# Install build deps
sudo apt-get build-dep ruby
# Install software
# System
sudo apt-get -my install \
ubuntu-restricted-extras
# Programming tools
sudo apt-get -my install \
build-essentials ghc \
ldc gdc curl npm scala valgrind \
clang nasm cabal-install \
oracle-java8-installer
# Databases
sudo apt-get -my install \
postgresql-9.3 postgres-client redis-server mongodb memcached
# Libraries
sudo apt-get -my install \
libreadline-dev libpq-dev
# Utils
sudo apt-get -my install \
curl samba vim-gnome git \
shutter virtualbox lxc-docker nethogs moreutils \
quemu fortunes spotify hipchat fish preload \
tlp tlp-rdw rar google-chrome google-talkplugin \
pipelight-multi libavcodec-extra nvidia-prime \
prime-indicator jayatana apt-fast indicator-cpufreq \
vlc rar unity-tweak-tool gnome-tweak-tool
# Dropbox
wget -O/tmp/dropbox.deb 'https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_1.6.0_amd64.deb'
sudo dpkg -i /tmp/dropbox.deb
# Steam
wget -O/tmp/steam.deb 'http://media.steampowered.com/client/installer/steam.deb'
sudo dpkg -i /tmp/steam.deb
# Enable pipelight
sudo pipelight-plugin --enable silverlight
sudo pilelight-plugin --enable widevine
# Change shell to Fish
chsh -s /usr/bin/fish
cd $HOME
# Install rbenv & friends
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
# Clone dotfiles
git clone --recursive http://github.com/hauleth/dotfiles.git
# Disable scopes
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment