PDA

View Full Version : Fastest recipe to prune a Knoppix HDD install



bobalex
02-23-2004, 02:45 PM
If you use Knoppix as a powerful installer for a "normal" Debian system, the first task after installing is to bring down the installed packages to a minimum list.

What is the fastest way of doing this ?

I ususally perform a dpkg -L and perform a dpkg --purge of each package I do not need ... works but is VERY LONG ...

More intelligent approaches ?

Thank you. Bob

rickenbacherus
02-23-2004, 03:07 PM
See here: http://www.knoppix.net/forum/viewtopic.php?t=2369&view=next

bobalex
02-23-2004, 07:39 PM
See here: http://www.knoppix.net/forum/viewtopic.php?t=2369&view=next

Thank you very much.

In my previous runs I found it very cumbersome to "delete the packages you want to keep" as needed by the "kicklist.txt" approach !

I'd probably want a list of what I really need and hopefully apt shoudl get the dependencies straight.

The only problem I have is that I could delete some package which I really do not know very well but is useful for knoppix to behave as expected.

Bob

rickenbacherus
02-23-2004, 07:47 PM
In my experience it is wise to leave any knoppix specific packages. They're listed in their own section if you use Synaptic.

Yes a kicklist does need to be created initially but could then be used (with a bit of fine tuning) for later installs.

Most any application that you don't use can be nuked and apt will solve the dependencies. Just take your time and look at what will be removed. Synaptic makes it very easy to see what will be removed.

Of course it's not wise to remove x-windows. ;)

apt-get remove libarts1 will nuke (nearly) all of KDE for example.