Preparing VirtualBox images: Difference between revisions
From genomewiki
Jump to navigationJump to search
(Created page with "* apt-get install localepurge * http://ianozsvald.com/2012/07/26/using-zerofree-to-shrink-a-virtualbox-linux-image/ Shrink the disk") |
No edit summary |
||
Line 1: | Line 1: | ||
* apt-get install localepurge | apt* apt-get install localepurge | ||
* apt-get remove python3* linux-headers* aptitude linux-image-extra man-db | |||
* show packages by size: dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | |||
* apt-get install linux-image-virtual iso-codes | |||
* apt-get remove perl perl-modules geoip-database language-pack-gnome-en-base manpages ppp | |||
* apt-get install apache2 mysql-server mysql-client | |||
* rm -f /var/lib/apt/lists/* | |||
* [[http://ianozsvald.com/2012/07/26/using-zerofree-to-shrink-a-virtualbox-linux-image/ Shrink the disk]] | * [[http://ianozsvald.com/2012/07/26/using-zerofree-to-shrink-a-virtualbox-linux-image/ Shrink the disk]] |
Revision as of 17:12, 11 October 2013
apt* apt-get install localepurge
- apt-get remove python3* linux-headers* aptitude linux-image-extra man-db
- show packages by size: dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n
- apt-get install linux-image-virtual iso-codes
- apt-get remove perl perl-modules geoip-database language-pack-gnome-en-base manpages ppp
- apt-get install apache2 mysql-server mysql-client
- rm -f /var/lib/apt/lists/*