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: 41

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: 1028
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)
_________________
My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7396
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
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7396
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
_________________
This space intentionally left blank.
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