public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Easy way to unmerge all of KDE?
@ 2005-12-23  6:12 Dale
  2005-12-23  7:42 ` Dirk Heinrichs
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dale @ 2005-12-23  6:12 UTC (permalink / raw
  To: gentoo-user

Hi guys, and Holly,

I have a rig that I need to free up some space on the hard drive.  I 
want to remove KDE completely.  Naturally doing a emerge unmerge kde 
does not get the job done.  What is a easy way to do this?  I did a 
emerge -ep world | grep kde but it is one heck of a list.  It's 6 pages 
long in OOo.

There has to be a easy way.  Be gentle with me now.  I'm learning.  Oh, 
if it is a mile long, give me a map of what it is doing.  Sort of 
explain it's thinking to me a bit.  I do now what the pipe thing is 
though.  That can be neat.  Would be nice if unmerge kde would work 
though. 

Thanks.

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  6:12 [gentoo-user] Easy way to unmerge all of KDE? Dale
@ 2005-12-23  7:42 ` Dirk Heinrichs
  2005-12-23  8:18   ` Dale
  2005-12-23  8:06 ` Neil Bothwick
  2005-12-23  8:49 ` Mariusz Pękala
  2 siblings, 1 reply; 10+ messages in thread
From: Dirk Heinrichs @ 2005-12-23  7:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

Am Freitag, 23. Dezember 2005 07:12 schrieb ext Dale:

> I have a rig that I need to free up some space on the hard drive.  I
> want to remove KDE completely.  Naturally doing a emerge unmerge kde
> does not get the job done.  What is a easy way to do this?  I did a
> emerge -ep world | grep kde but it is one heck of a list.  It's 6 pages
> long in OOo.

emerge unmerge kde-meta and emerge -a depclean

(Since you have such a long package list I assume you installed via split 
ebuilds, otherwise replace kde-meta with kde).

HTH...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  6:12 [gentoo-user] Easy way to unmerge all of KDE? Dale
  2005-12-23  7:42 ` Dirk Heinrichs
@ 2005-12-23  8:06 ` Neil Bothwick
  2005-12-23 17:30   ` Paul Varner
  2005-12-23  8:49 ` Mariusz Pękala
  2 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2005-12-23  8:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]

On Fri, 23 Dec 2005 00:12:41 -0600, Dale wrote:

> I have a rig that I need to free up some space on the hard drive.  I 
> want to remove KDE completely.  Naturally doing a emerge unmerge kde 
> does not get the job done.  What is a easy way to do this?

If you installed the kde meta-package, then all other kde packages will
be installed as dependencies of that, so you can remove them with

emerge -C kde
emerge -a depclean

You can list all installed kde packages with

qpkg -g kde-base
or 
equery list | grep kde-base

but removing them all is a bad idea, some of them, like kdelibs, may
also be dependencies pf packages that are not part of kde-base.

You could also add -kde to USE and do emerge -uavDN world, to make sure
any packages compiled with optional KDE support (and dependencies) have
it removed.

 
-- 
Neil Bothwick

Mac screen message: "Like, dude, something went wrong."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  7:42 ` Dirk Heinrichs
@ 2005-12-23  8:18   ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2005-12-23  8:18 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs wrote:

>Am Freitag, 23. Dezember 2005 07:12 schrieb ext Dale:
>
>  
>
>>I have a rig that I need to free up some space on the hard drive.  I
>>want to remove KDE completely.  Naturally doing a emerge unmerge kde
>>does not get the job done.  What is a easy way to do this?  I did a
>>emerge -ep world | grep kde but it is one heck of a list.  It's 6 pages
>>long in OOo.
>>    
>>
>
>emerge unmerge kde-meta and emerge -a depclean
>
>(Since you have such a long package list I assume you installed via split 
>ebuilds, otherwise replace kde-meta with kde).
>
>HTH...
>
>	Dirk
>  
>
That works but that warning message worried me a bit.  I did a -p 
first.  The -a would have worked to though.

That was to simple.  I figured someone would come along with a command 
from here to Oregon or something.  I live in Mississippi, USA.  It's a 
long ways anyway.  Maybe I should have said from earth to the moon.  LOL

Thanks
Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  6:12 [gentoo-user] Easy way to unmerge all of KDE? Dale
  2005-12-23  7:42 ` Dirk Heinrichs
  2005-12-23  8:06 ` Neil Bothwick
@ 2005-12-23  8:49 ` Mariusz Pękala
  2005-12-23  9:19   ` Mariusz Pękala
  2 siblings, 1 reply; 10+ messages in thread
From: Mariusz Pękala @ 2005-12-23  8:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

On 2005-12-23 00:12:41 -0600 (Fri, Dec), Dale wrote:
> Hi guys, and Holly,
> 
> I have a rig that I need to free up some space on the hard drive.  I 
> want to remove KDE completely.  Naturally doing a emerge unmerge kde 
> does not get the job done.  What is a easy way to do this?  I did a 
> emerge -ep world | grep kde but it is one heck of a list.  It's 6 pages 
> long in OOo.
> 
> There has to be a easy way.  Be gentle with me now.  I'm learning.  Oh, 
> if it is a mile long, give me a map of what it is doing.  Sort of 
> explain it's thinking to me a bit.  I do now what the pipe thing is 
> though.  That can be neat.  Would be nice if unmerge kde would work 
> though. 
> 

emerge -va unmerge $(grep kde /var/lib/portage/world)
emerge -va depclean

I hope that would do the trick.
-a will ask you before doing unmerge.

Alternate way:
cd /var/db/pkg/kde-base
for x in *; do emerge unmerge "=$x" ; done

HTH.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  8:49 ` Mariusz Pękala
@ 2005-12-23  9:19   ` Mariusz Pękala
  2005-12-23  9:35     ` Dale
  0 siblings, 1 reply; 10+ messages in thread
From: Mariusz Pękala @ 2005-12-23  9:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

> Alternate way:
> cd /var/db/pkg/kde-base
> for x in *; do emerge unmerge "=$x" ; done

Oh, no. I was too quick - it can break dependencies. Don't do it.

:-)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  9:19   ` Mariusz Pękala
@ 2005-12-23  9:35     ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2005-12-23  9:35 UTC (permalink / raw
  To: gentoo-user

Mariusz Pękala wrote:

>>Alternate way:
>>cd /var/db/pkg/kde-base
>>for x in *; do emerge unmerge "=$x" ; done
>>    
>>
>
>Oh, no. I was too quick - it can break dependencies. Don't do it.
>
>:-)
>
>  
>
Me didn't. I used the depclean one, after a -p and a good look first. 
O-O LOL I didn't understand that one. It went right over my head, waaaay 
over.

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23  8:06 ` Neil Bothwick
@ 2005-12-23 17:30   ` Paul Varner
  2005-12-23 17:51     ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Varner @ 2005-12-23 17:30 UTC (permalink / raw
  To: gentoo-user

On Fri, 2005-12-23 at 08:06 +0000, Neil Bothwick wrote:
> You can list all installed kde packages with
> 
> qpkg -g kde-base
> or 
> equery list | grep kde-base
> 

For equery, you can use:

equery list kde-base/ 

This tells equery to list the installed packages in category kde-base.
The command will run faster as well since it is not processing the
entire list of installed packages.  If you don't want to see the fancy
colored output then do:

equery --quiet list kde-base/ | cat

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23 17:30   ` Paul Varner
@ 2005-12-23 17:51     ` Neil Bothwick
  2005-12-23 22:38       ` Dale
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2005-12-23 17:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

On Fri, 23 Dec 2005 11:30:06 -0600, Paul Varner wrote:

> For equery, you can use:
> 
> equery list kde-base/ 

Aha! Nice one, I tried equery list kde-base but got nothing. It seems the
trailing slash makes all the difference, having the same effect as qpkg's
-g. You'll wean me off qpkg completely before long :)


-- 
Neil Bothwick

Do they have reserved parking for non-handicapped people at the Special
Olympics?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Easy way to unmerge all of KDE?
  2005-12-23 17:51     ` Neil Bothwick
@ 2005-12-23 22:38       ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2005-12-23 22:38 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:

>On Fri, 23 Dec 2005 11:30:06 -0600, Paul Varner wrote:
>
>  
>
>>For equery, you can use:
>>
>>equery list kde-base/ 
>>    
>>
>
>Aha! Nice one, I tried equery list kde-base but got nothing. It seems the
>trailing slash makes all the difference, having the same effect as qpkg's
>-g. You'll wean me off qpkg completely before long :)
>
>
>  
>
THAT was cool.  I can read man pages for something I need to know all 
day long and not get it.  I can do it for someone else though and figure 
it out right away.  I did that on my main rig and that / does make a 
huge difference.  It made a VERY long list on my main rig here.  I have 
KDE 3.4 and 3.5 installed still.

Thanks again, Im learning.

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-12-23 22:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-23  6:12 [gentoo-user] Easy way to unmerge all of KDE? Dale
2005-12-23  7:42 ` Dirk Heinrichs
2005-12-23  8:18   ` Dale
2005-12-23  8:06 ` Neil Bothwick
2005-12-23 17:30   ` Paul Varner
2005-12-23 17:51     ` Neil Bothwick
2005-12-23 22:38       ` Dale
2005-12-23  8:49 ` Mariusz Pękala
2005-12-23  9:19   ` Mariusz Pękala
2005-12-23  9:35     ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox