Skip to content

Instantly share code, notes, and snippets.

@reyesyang
Created March 18, 2017 14:43
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 reyesyang/4d245ae9676ce459526eb9c04c3ee28e to your computer and use it in GitHub Desktop.
Save reyesyang/4d245ae9676ce459526eb9c04c3ee28e to your computer and use it in GitHub Desktop.
Bootstrap a fresh ubuntu machine with dev tools
#!/bin/bash
echo '***** Build tools *****'
sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev
echo '***** Dev tools *****'
sudo apt install -y git gitg tmux vim-gnome exuberant-ctags memcached redis-server\
mysql-server mongodb postgresql haskell-platform libmysqlclient-dev ipython python-dev\
libsqlite3-dev ubuntu-make
echo '***** Other Tools *****'
sudo apt install -y acpi ubuntu-restricted-extras libavcodec-extra shutter curl virtualbox unity-tweak-tool whois indicator-multiload gimp mypaint inkscape compizconfig-settings-manager psensor lm-sensors vlc
echo '***** IM and fonts *****'
sudo apt install -y fcitx fcitx-googlepinyin fonts-wqy-*
echo '***** Theme ******'
## https://wiki.ubuntu.com/Chromium/Getting-Partner-Flash
sudo apt install -y arc-theme chromium-browser adobe-flashplugin
grep -v -E ^# /etc/apt/sources.list.d/*.list | grep pulp
if [ $? -ne 0 ]; then
sudo add-apt-repository ppa:snwh/pulp
sudo apt-get update
fi
sudo apt install -y paper-icon-theme
echo '***** Shadowsocks *****'
grep -v -E ^# /etc/apt/sources.list.d/*.list | grep ss-qt5
if [ $? -ne 0 ]; then
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
fi
sudo apt install -y shadowsocks-qt5 privoxy corkscrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment