Talk:DP Code Development VM
From DPWiki
These are bfoley's tweaks from the initial 'minimal Ubuntu VM' to make it even smaller:
# remove unused packages
apt-get -y purge ghostscript gs-cjk-resource libgs9 libgs9-common libcups2 libcupsimage2 # 23688kB
apt-get -y purge iso-codes language-selector-common ubuntu-standard # 15920kB
apt-get -y purge geoip-database # 6888kB
apt-get -y purge gsfonts # 4688kB
apt-get -y purge cmap-adobe-japan1 # 2524kB
apt-get -y purge discover discover-data libdiscover2 # 4184kB
apt-get -y purge command-not-found command-not-found-data # 3024kB
apt-get -y purge ppp pppconfig pppoeconf # 1576kB
apt-get -y purge apparmor # 1436kB
apt-get -y purge libavahi-client3 libavahi-common-data libavahi-common3 # 276kB
apt-get -y purge libpaper1 libpaper-utils # 412kB
apt-get -y purge libjbig2dec0 liblcms2-2 libijs-0.35 # 544kB
apt-get -y purge aptitude \
tasksel tasksel-data \
libboost-iostreams1.46.1 libsigc++-2.0-0c2a libept1.4.12 libcwidget3 \
libsub-name-perl libparse-debianchangelog-perl libtimedate-perl libio-string-perl \
libclass-accessor-perl \
laptop-detect \
python-debian python-chardet apt-xapian-index libxapian22 python-xapian # 30284kB
apt-get -y purge memtest86+ # 2064kB
apt-get -y purge pciutils # 1020kB
apt-get -y purge usbutils libusb-1.0-0 # 796kB
apt-get -y purge lshw # 692kB
apt-get -y purge ntfs-3g # 1548kB
apt-get -y purge xauth libxmuu1 # 64kB
apt-get -y purge bind9-host dnsutils libbind9-80 libdns81 libgeoip1 libisccfg82 libisc83 # 2800 kB
apt-get -y purge libmagickcore4-extra libdjvulibre21 libdjvulibre-text libwmf0.2-7 librsvg2-2 \
libgvc5 libpathplan4 libgdk-pixbuf2.0-0 libpango1.0-0 libgraph4 libilmbase6 libcairo2 \
libthai0 libcdt4 libgdk-pixbuf2.0-common libxft2 libpci3 libxcb-shm0 libxrender1 libthai-data
libxcb-render0 libdatrie1 libpixman-1-0 fontconfig
apt-get -y purge update-manager-core # 1200kB
apt-get -y purge ufw iptables # firewall-y stuff
apt-get -y purge tcpdump libpcap0.8 libnfnetlink0
apt-get -y purge gir1.2-glib-2.0 python-gi libgirepository-1.0-1 # 1700kB
apt-get -y purge kbd console-setup keyboard-configuration xkb-data
apt-get -y purge ufw # 690kB
apt-get -y purge keyboard-configure xkb-data kbd console-setup
These were not done because I want to retain the ability to do translation work (or translation interface work) in the VM
echo 'LANG="C"' >/etc/default/locale
apt-get -y purge firefox-locale-fr language-pack-fr language-pack-fr-base # 11016kB
apt-get -y purge locales # 27080kB
apt-get -y purge language-pack-en language-pack-en-base \
language-pack-gnome-en language-pack-gnome-en-base # 18032kB