Hi all
Im new to the apt system, is ther a way to completely remove a virtual package and its dependencies?
I've just put dapper on my laptop as an experiment and I want to replace gnome with kde (not starting a gnome/kde war, i just dont like gnome) I know I *could* just leave gnome in place but it urks me having all that *stuff* under the hood that I dont want there.
Cheers
Stuart
Why not install KUbuntu from the get-go? It'll all be nicely set up for you and will save any worries of stuff 'under the hood'.
KUbuntu, in case you didn't know, is a variant of Ubuntu but for KDE users.
With regards to your specific apt question. I'm not sure how you would do this. I'm sure Brett or other hardcore Debian users on this list could answer that :)
Cheers, Richard.
On Thu, 2006-03-16 at 10:18 +0000, Stuart Fox wrote:
Hi all
Im new to the apt system, is ther a way to completely remove a virtual package and its dependencies?
I've just put dapper on my laptop as an experiment and I want to replace gnome with kde (not starting a gnome/kde war, i just dont like gnome) I know I *could* just leave gnome in place but it urks me having all that *stuff* under the hood that I dont want there.
Cheers
Stuart
Check out $ man apt-cache and have a look at the depends command.
Also note the --purge option of apt-get.
I think you could probably do something like this:
# apt-get remove --purge `apt-cache depends gnome-desktop-environment | sed "s/.*: (.*)$/\1/"`
You need the regex because $ apt-cache depends prints a 'nicely' formatted list.
You may need to repeat this with a couple of meta packages before its all gone.
Cheers, Richard
PS. Also check out Synaptic.
On 3/16/06, Richard Lewis richardlewis@fastmail.co.uk wrote:
PS. Also check out Synaptic.
Isn't that a Gnome based application? ;-)
Tim.
On Thu, 2006-03-16 at 10:39 +0000, Tim Green wrote:
On 3/16/06, Richard Lewis richardlewis@fastmail.co.uk wrote:
PS. Also check out Synaptic.
Isn't that a Gnome based application? ;-)
Tim.
Opps! Yes, it is! I've never tried removing Synaptic /using/ Synaptic...I wonder what happens....
Um, you could try KPackage, of course, or just stick to the command line.
Richard