Skip to content

Instantly share code, notes, and snippets.

@hpherzog
Last active September 15, 2015 07:57
Show Gist options
  • Select an option

  • Save hpherzog/4fae23697741a818606a to your computer and use it in GitHub Desktop.

Select an option

Save hpherzog/4fae23697741a818606a to your computer and use it in GitHub Desktop.
Install default packages on debian jessie
#!/bin/sh
(cat <<-SRC
# default repo
deb http://ftp.de.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free
# security updates
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# updates
deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
# backports
deb http://ftp.de.debian.org/debian jessie-backports main
SRC
) > /etc/apt/sources.list
apt-get update
apt-get -y install \
ntp \
ntpdate \
etckeeper \
sudo \
rsync \
unzip \
unrar \
bzip2 \
git \
git-core \
curl \
subversion \
make \
g++ \
checkinstall \
python \
build-essential \
openssl \
libssl-dev \
libmagic1 \
libmagic-dev \
screen \
openjdk-7-jre-headless \
gdebi-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment