minimalize raspian

on

sudo apt-get remove –purge wolfram-engine scratch omxplayer penguinspuzzle
sudo apt-get remove –purge debian-reference-en dillo idle3 python3-tk idle python-pygame python-tk
sudo apt-get remove –purge lightdm gnome-themes-standard gnome-icon-theme raspberrypi-artwork
sudo apt-get remove –purge gvfs-backends gvfs-fuse desktop-base lxpolkit netsurf-gtk zenity xdg-utils
sudo apt-get remove –purge mupdf gtk2-engines alsa-utils lxde lxtask menu-xdg gksu
sudo apt-get remove –purge midori xserver-xorg xinit xserver-xorg-video-fbdev
sudo apt-get remove –purge libraspberrypi-dev libraspberrypi-doc
sudo apt-get remove –purge dbus-x11 libx11-6 libx11-data libx11-xcb1 x11-common x11-utils
sudo apt-get remove –purge lxde-icon-theme gconf-service gconf2-common
sudo apt-get remove –purge python python3 python2.7 python3.2
sudo apt-get remove –purge alsa* gstreamer*

dpkg –list |grep “^rc” | cut -d ” ” -f 3 | xargs sudo dpkg –purge

sudo apt-get autoremove

sudo rm -rf /home/pi/python_games

sudo apt-get install vim

sudo rm -rv /usr/share/icons/*
sudo rm -rv /opt/vc/src/*