View previous topic :: View next topic |
Author |
Message |
The Newfie n00b
Joined: 04 Apr 2005 Posts: 24
|
Posted: Thu Apr 14, 2005 8:56 pm Post subject: removing applications you have emerged..? |
|
|
quick question how would i go about removeing something i have emerged and nolonger want or need..?
Brad. |
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Thu Apr 14, 2005 8:58 pm Post subject: |
|
|
Code: | emerge unmerge <app>
-or-
emerge -C <app> |
taurus |
|
Back to top |
|
|
JC Denton Apprentice
Joined: 16 Apr 2003 Posts: 151 Location: USA
|
Posted: Thu Apr 14, 2005 8:58 pm Post subject: |
|
|
I believe the following command should do the trick:
The -C switch tells emerge to "unmerge" the package, and the -a switch makes sure emerge *asks* before proceeding. |
|
Back to top |
|
|
PeteBourner n00b
Joined: 14 Apr 2005 Posts: 4 Location: Dover, England
|
Posted: Thu Apr 14, 2005 11:42 pm Post subject: |
|
|
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 |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Thu Apr 14, 2005 11:52 pm Post subject: |
|
|
Should you choose to do an emerge --depclean, make sure you run it with pretend or ask mode options... |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Fri Apr 15, 2005 12:40 am Post subject: |
|
|
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 |
|
|
|