Autor |
Nachricht |
|
Titel: Kanotix on diet
Verfasst am: 25.08.2006, 11:38 Uhr
|
|
Anmeldung: 07. Mai 2005
Beiträge: 153
|
|
I have a 2005-04 and need to slim it down a bit. There are various programs I simply don't have use for so after install I would run for example apt-get remove wine.
What are the 10 or 20 largest programs on Kanotix which could be the next candidates for removal, but not including Open Office?
Also, when approximately will 2006-easter-rc4 become a Stable Release? |
|
|
|
|
 |
|
Titel: Re: Kanotix on diet
Verfasst am: 25.08.2006, 12:31 Uhr
|
|
Anmeldung: 09. Feb 2005
Beiträge: 242
Wohnort: Germany Jena-Dresden
|
|
tuxedo hat folgendes geschrieben::
I have a 2005-04 and need to slim it down a bit. There are various programs I simply don't have use for so after install I would run for example apt-get remove wine.
What are the 10 or 20 largest programs on Kanotix which could be the next candidates for removal, but not including Open Office?
Also, when approximately will 2006-easter-rc4 become a Stable Release?
A very simple approach for this is to use a packagemanger like synaptic or kpackage which can sort packeges according to their size. You can easily remove them completely (equal to apt-get remove --purge package) from there. At least synaptic has the advantage that it keeps track when and what was uninstalled (some kind of "undo" in this context). Moreover you can read the description and dependencies of the packages and you can save the changes to a file, transfer them to other machines and apply them there too.
BTW, if you use these tool (apt-get remove, synaptic, ...) fire up orphaner at the end so that orphaned packages will be removed too. remove-orphans should also to the job. |
_________________ joer04
mob. AMD Athlon XP 2200+, 512 Mb RAM, 40 Gb HD, ATI mobility Radeon 9000 (64 Mb RAM)
Kanotix-2005-02 kernel-2.6.12-kanotix-1
|
|
|
|
 |
|
Titel: RE: Re: Kanotix on diet
Verfasst am: 25.08.2006, 13:05 Uhr
|
|
Anmeldung: 07. Mai 2005
Beiträge: 153
|
|
OK - I understand I have to include the --purge bit in order for the wine package to be completely removed. For example: apt-get remove --purge wine would do the trick.
I prefer to use the command line because I can then remove/include several programs using a shell script. Although I do have Synaptic installed, I could not find the list-by-size feature there but I can find that in Kpackage.
Thanks for the tips! |
|
|
|
|
 |
|
Titel: RE: Re: Kanotix on diet
Verfasst am: 25.08.2006, 15:30 Uhr
|
|

Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
|
|
Type:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
This will list all packages and size. |
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
|
|
 |
|
Titel:
Verfasst am: 25.08.2006, 16:05 Uhr
|
|
Anmeldung: 07. Mai 2005
Beiträge: 153
|
|
Thanks - your one-liner will become part of my kde-gui widgets! |
|
|
|
|
 |
|