2018-11-23 10:10:17 +01:00
|
|
|
#! /bin/bash
|
2019-01-22 14:23:16 +01:00
|
|
|
# fail immediately on error
|
2019-01-22 14:14:25 +01:00
|
|
|
set -e
|
2018-11-27 09:08:03 +01:00
|
|
|
CURLOPT=${CURLOPT:-"--location --remote-time --show-error --silent --fail --tlsv1.2"}
|
2018-11-23 10:10:17 +01:00
|
|
|
|
2019-01-22 14:06:22 +01:00
|
|
|
apt-get update \
|
2019-01-22 14:14:25 +01:00
|
|
|
&& apt-get dist-upgrade -y \
|
2019-01-22 14:06:22 +01:00
|
|
|
&& apt-get install -y \
|
2018-11-23 10:59:55 +01:00
|
|
|
apt-file \
|
|
|
|
apt-transport-https \
|
|
|
|
bash-completion \
|
|
|
|
build-essential \
|
|
|
|
byobu \
|
|
|
|
ca-certificates \
|
2020-05-28 21:23:46 +02:00
|
|
|
cargo \
|
2018-11-23 10:59:55 +01:00
|
|
|
clang \
|
|
|
|
cmake \
|
|
|
|
command-not-found \
|
|
|
|
curl \
|
|
|
|
elinks \
|
2020-01-31 10:59:29 +01:00
|
|
|
exa \
|
2018-11-23 10:59:55 +01:00
|
|
|
git \
|
2019-06-05 03:42:10 +02:00
|
|
|
highlight \
|
2018-11-23 10:59:55 +01:00
|
|
|
htop \
|
2018-12-08 05:34:02 +01:00
|
|
|
libgit2-dev \
|
2018-11-23 10:59:55 +01:00
|
|
|
libpython3-dev \
|
|
|
|
locales \
|
|
|
|
man \
|
|
|
|
mc \
|
|
|
|
neovim \
|
|
|
|
python3 \
|
|
|
|
python3-venv \
|
|
|
|
software-properties-common \
|
2018-11-23 11:03:29 +01:00
|
|
|
tig \
|
2018-11-23 10:59:55 +01:00
|
|
|
zsh \
|
2019-03-18 06:51:32 +01:00
|
|
|
&& apt-get install --no-install-recommends -y \
|
|
|
|
firejail \
|
2019-07-12 06:50:46 +02:00
|
|
|
firejail-profiles \
|
2018-11-23 10:59:55 +01:00
|
|
|
&& apt-file update
|
2018-11-23 10:10:17 +01:00
|
|
|
|
|
|
|
# node related
|
2020-01-31 10:59:57 +01:00
|
|
|
curl $CURLOPT https://deb.nodesource.com/setup_13.x | bash -
|
2018-11-23 10:10:17 +01:00
|
|
|
apt-get install -y nodejs
|
|
|
|
|
|
|
|
# python3 related
|
2018-11-27 09:08:03 +01:00
|
|
|
curl $CURLOPT https://bootstrap.pypa.io/get-pip.py | python3
|
2018-12-08 05:34:02 +01:00
|
|
|
|
2019-06-05 03:42:10 +02:00
|
|
|
pip install ranger-fm
|
2020-01-31 11:07:03 +01:00
|
|
|
|
2020-05-28 21:23:46 +02:00
|
|
|
cargo install --root /usr/local --git https://github.com/ogham/exa
|
2020-01-31 11:07:03 +01:00
|
|
|
|
|
|
|
curl $CURLOPT -o /usr/local/sbin/cleanup.sh https://gist.github.com/schtobia/f02deeaf2fd20b23ae9fcf0f451cc858/raw/cleanup.sh \
|
|
|
|
&& chmod u+x /usr/local/sbin/cleanup.sh
|