Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to remove KDE 4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
ckid113
n00b
n00b


Joined: 19 Oct 2010
Posts: 42

PostPosted: Tue Nov 22, 2011 7:38 am    Post subject: How to remove KDE 4 Reply with quote

I managed to install KDE3 from sunset overlay. Now I would like to remove stupid monster KDE 4.6.5. It was installed using portage. How is it possible to uninstall it? `emerge -C =kde-base/kde-meta-4.6.5` removes only kde-meta itself and no dependencies. Is there a way to remove dependencies like dolphin as well automatically?
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Nov 22, 2011 11:03 am    Post subject: Reply with quote

You can get the list of these packages with:
> ls /var/db/pkg/kde-base | grep 4.6.5 > kde4list, or
> qlist -ICS kde-base | grep 4 | sed -e "s/\s4/:4/" > kde4list,
then you can use it in a bash command:
> emerge -aC $(cat kde4list)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Nov 22, 2011 11:41 am    Post subject: Re: How to remove KDE 4 Reply with quote

ckid113 wrote:
I managed to install KDE3 from sunset overlay. Now I would like to remove stupid monster KDE 4.6.5. It was installed using portage. How is it possible to uninstall it? `emerge -C =kde-base/kde-meta-4.6.5` removes only kde-meta itself and no dependencies. Is there a way to remove dependencies like dolphin as well automatically?
Once you've removed the meta package, then
Code:
emerge --depclean -va
should do the rest. All that will remain is those packages you explicitly installed in addition to kde-meta.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Nov 23, 2011 1:49 pm    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads in favor of Remove KDE4.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum