2014-09-01 20:42:28 +01:00
|
|
|
#!/bin/bash
|
2016-07-05 10:39:13 +01:00
|
|
|
|
2015-07-19 09:50:33 +01:00
|
|
|
set -e
|
2016-07-05 10:39:13 +01:00
|
|
|
set -v
|
2015-07-19 09:28:15 +01:00
|
|
|
|
2015-07-19 09:34:30 +01:00
|
|
|
sudo apt-get update
|
2016-07-05 10:39:13 +01:00
|
|
|
sudo apt-get -y upgrade
|
2016-07-05 10:40:08 +01:00
|
|
|
install_packages="sudo apt-get -y --fix-missing install aptitude meld whois zsh tmux atop aria2 curl pv gajim tor torsocks nodejs thunderbird thunderbird-enigmail thunderbird-ublock-origin 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 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 gnupg2 realpath apt-file"
|
2016-07-05 10:39:13 +01:00
|
|
|
|
|
|
|
set +e
|
|
|
|
for i in `seq 1 3`; do
|
|
|
|
eval $install_packages
|
|
|
|
done
|
2015-07-19 09:58:01 +01:00
|
|
|
|
2016-07-05 10:39:13 +01:00
|
|
|
set -e
|
|
|
|
eval $install_packages
|
2015-07-19 09:34:30 +01:00
|
|
|
|
2016-07-05 10:39:13 +01:00
|
|
|
if [[ -z $DONT_START_TOR ]]; then
|
|
|
|
sudo systemctl enable tor
|
|
|
|
sudo systemctl start tor
|
|
|
|
fi
|
2015-07-19 09:34:30 +01:00
|
|
|
|
2014-10-11 09:58:07 +01:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2015-01-25 08:57:25 +00:00
|
|
|
DIR="$DIR/../"
|
2015-04-30 21:29:17 +01:00
|
|
|
DIR="$DIR" $DIR/common/configure_fresh_system
|
2014-09-01 20:42:28 +01:00
|
|
|
|
2016-07-05 10:39:13 +01:00
|
|
|
# install vim from sources
|
|
|
|
VIM_BUILD_DIR=/tmp
|
|
|
|
cd "$VIM_BUILD_DIR"
|
|
|
|
git clone https://github.com/vim/vim.git
|
|
|
|
cd vim
|
|
|
|
./configure --with-features=huge \
|
|
|
|
--enable-multibyte \
|
|
|
|
--enable-rubyinterp \
|
|
|
|
--enable-pythoninterp \
|
|
|
|
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
|
|
|
|
--enable-perlinterp \
|
|
|
|
--enable-luainterp \
|
|
|
|
--enable-gui=gtk2 --enable-cscope --prefix=/usr
|
|
|
|
make -j2
|
|
|
|
sudo make install
|
|
|
|
cd
|
|
|
|
rm -fvr "$VIM_BUILD_DIR/vim"
|
|
|
|
|