Preparing VirtualBox images: Difference between revisions
From genomewiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
* show packages by size: dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | * 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 install linux-image-virtual iso-codes | ||
* apt-get remove perl perl-modules geoip-database language-pack-gnome-en-base manpages ppp | * apt-get remove perl perl-modules geoip-database language-pack-gnome-en-base manpages ppp acpi | ||
* apt-get install apache2 mysql-server mysql-client | * apt-get install apache2 mysql-server mysql-client | ||
* rm -f /var/lib/apt/lists/* | * 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:38, 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 acpi
- apt-get install apache2 mysql-server mysql-client
- rm -f /var/lib/apt/lists/*