[plug] removing packages

Tomasz Grzegurzko tomasz89 at gmail.com
Thu Dec 7 06:20:50 WST 2006


Jason wrote:
> Greetings everyone,
> 
> Last night I was playing around on my system, and wanted to install an 
> app called ktorrent.
> 
> I had to install KDE to get it to work and when I did, apt-get installed 
> about 100 or so packages as well as KDE.
> 
> In the end, I didn't really like ktorrent and now want to remove all of 
> those applications that were installed upon doing apt-get install kde.
> 
> If I do apt-get remove kde, it only wants to get rid of "kde", nothing 
> else.
> 
> How can I have apt remove the packages it installed without working out 
> a manual list?
> 
> Regards,
> 
> Jason.
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 
Aptitude can handle this kind of stuff for you automatically, it has the 
ability to mark packages automatically installed so when nothing depends 
on them they get removed also. I'm afraid this is where apt is lacking, 
the only way to do it now is go through /var/log/dpkg.log and see what 
packages got installed as a result of your action and remove them, and 
stick to aptitude in future!

Tomasz



More information about the plug mailing list