目前使用16.04版本
#basic lib
sudo apt-get update
sudo apt-get upgrade gcc
sudo apt-get install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils python2.7-dev git python-pip libblas-dev liblapack-dev libatlas-base-dev gfortran libpng-dev libjpeg8-dev libfreetype6-dev vim vim-gnome gsl-bin cmake mono-xbuild libmono-microsoft-build-tasks-v4.0-4.0-cil mono-dmcs zsh npm tk-dev libssl0.9.8 openssh-server git
#some apps
sudo apt-get install mplayer terminator indicator-multiload htop tmux vifm
#media dependancy
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
#sogou input
wget [http://cdn2.ime.sogou.com/dl/index/1475147394/sogoupinyin_2.1.0.0082_amd64.deb?st=wg8pAgfy5CW_uDvKFbfM3Q&e=1478674416&fn=sogoupinyin_2.1.0.0082_amd64.deb](http://cdn2.ime.sogou.com/dl/index/1475147394/sogoupinyin_2.1.0.0082_amd64.deb?st=wg8pAgfy5CW_uDvKFbfM3Q&e=1478674416&fn=sogoupinyin_2.1.0.0082_amd64.deb)
sudo dpkg -i *deb
#emacs25 can be installed by conda
#sudo apt-get build-dep emacs24
#wget [https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.gz](https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.gz)
#./configure
#make
#sudo checkinstall
#sudo dpkg -r emacs-25
#sudo dpkg -i *deb
#spacemacs
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
[ -d /usr/share/fonts/opentype ] || sudo mkdir /usr/share/fonts/opentype
sudo git clone --depth 1 --branch release https://github.com/adobe-fonts/source-code-pro.git /usr/share/fonts/opentype/scp
sudo fc-cache -f -v
sudo rm -rf /usr/share/fonts/opentype/scp/.git*
emacs --insecure
#spf-13
echo "let g:spf13_bundle_groups=['general', 'neocomplete', 'programming']">~/.vimrc.before.local
echo "Plugin 'fanghuan/vim-ncl'" >~/.vimrc.bundles.local
curl http://j.mp/spf13-vim3 -L -o - | sh
#java 8 for panoply need fq
# or [http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html?printOnly=1](http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html?printOnly=1)
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
#for uvcdat
sudo apt-get install -y libqt4-dev gfortran cmake g++ git m4 zlib1g-dev libpng-dev libjpeg-dev libxt-dev libssl-dev libexpat-dev libsqlite3-dev automake libcurl4-openssl-dev