2016-05-03 19:13:15 +01:00
|
|
|
#!/bin/bash
|
2016-06-23 18:39:03 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2017-04-22 19:35:24 +01:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2016-05-03 19:13:15 +01:00
|
|
|
sudo apt-get update
|
2016-09-16 08:32:06 +01:00
|
|
|
|
|
|
|
if [[ -z $NOUPGRADE ]]; then
|
|
|
|
sudo apt-get -y upgrade
|
|
|
|
fi
|
|
|
|
|
2016-10-16 18:10:28 +01:00
|
|
|
install_packages="sudo apt-get -y --fix-missing install aptitude meld whois zsh tmux atop aria2 curl pv gajim tor torsocks nodejs icedove icedove-enigmail icedove-sogo-connector gajim lm-sensors freecad python3-pip meld whois curl pv tor torsocks nodejs npm terminator gsmartcontrol python-pip mercurial redshift gtk-redshift cmake intltool gparted wine solaar glances silversearcher-ag dkms linux-kernel-headers golang keepass2 libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev git retext kdiff3 libxml2-dev libxslt1-dev"
|
2016-06-24 14:13:45 +01:00
|
|
|
|
|
|
|
set +e
|
|
|
|
for i in `seq 1 3`; do
|
|
|
|
eval $install_packages
|
|
|
|
done
|
|
|
|
|
|
|
|
set -e
|
|
|
|
eval $install_packages
|
2016-05-03 19:13:15 +01:00
|
|
|
|
2016-08-01 06:37:34 +01:00
|
|
|
if [[ -z $NO_SYSTEMCTL ]]; then
|
2016-06-23 19:10:12 +01:00
|
|
|
sudo systemctl enable tor
|
|
|
|
sudo systemctl start tor
|
|
|
|
fi
|
2016-05-03 19:13:15 +01:00
|
|
|
|
2016-08-12 12:44:42 +01:00
|
|
|
# mono
|
|
|
|
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
|
|
|
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
|
|
|
|
echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
|
|
|
|
sudo apt-get update
|
2016-08-12 12:58:50 +01:00
|
|
|
sudo apt-get -y install mono-devel mono-complete
|
2016-09-20 21:43:09 +01:00
|
|
|
|
2017-04-22 19:35:24 +01:00
|
|
|
# vim
|
2016-09-20 21:43:09 +01:00
|
|
|
if [[ -z $NO_COMPILE_VIM ]]; then
|
2017-04-22 19:35:24 +01:00
|
|
|
VIM_BUILD_DIR=`realpath "$DIR/../../"`
|
2016-09-20 21:43:09 +01:00
|
|
|
cd "$VIM_BUILD_DIR"
|
2017-04-22 19:35:24 +01:00
|
|
|
if [[ ! -d vim ]]; then
|
|
|
|
git clone https://github.com/vim/vim.git --recursive
|
|
|
|
else
|
|
|
|
cd vim
|
|
|
|
git pull
|
|
|
|
git submodule update --init --recursive
|
|
|
|
cd ..
|
|
|
|
fi
|
2016-09-20 21:43:09 +01:00
|
|
|
cd vim
|
|
|
|
./configure --with-features=huge \
|
|
|
|
--enable-multibyte \
|
|
|
|
--enable-rubyinterp \
|
|
|
|
--enable-python3interp=yes \
|
|
|
|
--enable-luainterp \
|
|
|
|
--enable-gui=no \
|
2017-04-22 19:35:24 +01:00
|
|
|
--enable-cscope \
|
|
|
|
--enable-pythoninterp \
|
|
|
|
--enable-python3interp
|
|
|
|
make -j`nproc`
|
2016-09-20 21:43:09 +01:00
|
|
|
sudo make install
|
|
|
|
cd
|
|
|
|
fi
|
2016-05-15 17:14:22 +01:00
|
|
|
|
2016-07-09 13:15:53 +01:00
|
|
|
DIR="$DIR/../"
|
2017-01-19 10:03:34 +00:00
|
|
|
DIR="$DIR" $DIR/common/configure_fresh_system.sh
|
2016-07-09 13:15:53 +01:00
|
|
|
|