2018-11-23 10:10:17 +01:00
|
|
|
#! /bin/bash
|
2018-11-23 10:17:31 +01:00
|
|
|
# fail immediately on error
|
|
|
|
set -e
|
2018-11-23 10:10:17 +01:00
|
|
|
|
2018-11-23 10:59:55 +01:00
|
|
|
apt update \
|
|
|
|
&& apt dist-upgrade \
|
2018-11-23 11:00:30 +01:00
|
|
|
&& apt install -y \
|
2018-11-23 10:59:55 +01:00
|
|
|
apt-file \
|
|
|
|
apt-transport-https \
|
|
|
|
bash-completion \
|
|
|
|
build-essential \
|
|
|
|
byobu \
|
|
|
|
ca-certificates \
|
|
|
|
clang \
|
|
|
|
cmake \
|
|
|
|
command-not-found \
|
|
|
|
curl \
|
|
|
|
elinks \
|
|
|
|
git \
|
|
|
|
htop \
|
|
|
|
libpython-dev \
|
|
|
|
libpython3-dev \
|
|
|
|
locales \
|
|
|
|
man \
|
|
|
|
mc \
|
|
|
|
neovim \
|
|
|
|
python3 \
|
|
|
|
python3-venv \
|
|
|
|
software-properties-common \
|
|
|
|
zsh \
|
|
|
|
&& apt-file update
|
2018-11-23 10:10:17 +01:00
|
|
|
|
|
|
|
# node related
|
|
|
|
curl -RLSsf1 https://deb.nodesource.com/setup_10.x | bash -
|
|
|
|
apt-get install -y nodejs
|
|
|
|
|
|
|
|
# python3 related
|
|
|
|
curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python2 && \
|
|
|
|
curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python3
|