Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
removing applications you have emerged..?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
The Newfie
n00b
n00b


Joined: 04 Apr 2005
Posts: 24

PostPosted: Thu Apr 14, 2005 8:56 pm    Post subject: removing applications you have emerged..? Reply with quote

quick question how would i go about removeing something i have emerged and nolonger want or need..?

Brad.
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Thu Apr 14, 2005 8:58 pm    Post subject: Reply with quote

Code:
emerge unmerge <app>
-or-
emerge -C <app>

taurus
Back to top
View user's profile Send private message
JC Denton
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 151
Location: USA

PostPosted: Thu Apr 14, 2005 8:58 pm    Post subject: Reply with quote

I believe the following command should do the trick:
Code:
emerge -Ca package


The -C switch tells emerge to "unmerge" the package, and the -a switch makes sure emerge *asks* before proceeding.
Back to top
View user's profile Send private message
PeteBourner
n00b
n00b


Joined: 14 Apr 2005
Posts: 4
Location: Dover, England

PostPosted: Thu Apr 14, 2005 11:42 pm    Post subject: Reply with quote

It would make sense to do an 'emerge --depclean' after the unmerge as well, to remove any dependencies of the package which are not needed by anything else on your system.
To give an example of why this is useful, consider the 'kde' package. This is effectively just a dummy package which has all the good stuff ( kdebase, kdelibs, kde-whatever etc ) listed as dependencies. If you install kde, and then try to remove it with 'emerge --unmerge kde', you will still have basically all the kde packages installed. Running depclean will clean them out.
I think you should finally do a 'revdep-rebuild' also.
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Thu Apr 14, 2005 11:52 pm    Post subject: Reply with quote

Should you choose to do an emerge --depclean, make sure you run it with pretend or ask mode options...
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Fri Apr 15, 2005 12:40 am    Post subject: Reply with quote

Ateo wrote:
Should you choose to do an emerge --depclean, make sure you run it with pretend or ask mode options...
And make sure to remove only what you are absolutely sure you don't need and run a `revdep-rebuild` immediately afterward to be safe. (revdep-rebuild is part of the app-portage/gentoolkit package.)
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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