Skip to content

Instantly share code, notes, and snippets.

@bellx2
Last active October 20, 2016 06:10
Show Gist options
  • Save bellx2/e02d92ad9121729121709021a4c54966 to your computer and use it in GitHub Desktop.
Save bellx2/e02d92ad9121729121709021a4c54966 to your computer and use it in GitHub Desktop.
#!/bin/sh
USERID=`id -u`
if [ ${USERID} -ne 0 ]; then
echo "Usage: sudo ./raspi-setup.sh"
exit 1
fi
# package list update
#apt-get update
XPKGS='minecraft-pi epiphany-browser dillo midori penguinspuzzle'
#JAVA='java-common oracle-java8-jdk'
MEDIA='omxplayer'
OFFICE=`dpkg --get-selections | grep -v "deinstall" | grep "libreoffice" | sed s/install//`
LEARNING='scratch squeak-vm squeak-plugins-scratch supercollider sonic-pi wolfram-engine'
apt-get -y remove ${XPKGS} ${JAVA} ${MEDIA} ${OFFICE} ${LEARNING}
apt-get -y autoremove
apt-get -y clean
ADD_JA='ttf-kochi-gothic xfonts-intl-japanese xfonts-intl-japanese-big'
ADD_LS='cmake libssl-dev libsdl2-ttf-2.0-0 libsdl2-dev npm sysv-rc-conf GraphicsMagick'
apt-get -y install ${ADD_JA} ${ADD_LS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment