Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF17: I emerged <package>, how do I uninstall it?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Mon Apr 05, 2004 10:16 am    Post subject: GF17: I emerged <package>, how do I uninstall it? Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]

Q1: I emerged <package>, how do I uninstall it?

A: You can uninstall a package by running:
Code:
emerge -C <package>


Q2: Yeah, but I have more than one version of this package installed, and only want uninstall one of them. How do I do that?

A: You can uninstall a specific version of a package by running:
Code:
emerge -C =package-version

You can also use the operators >, >=, <=, < and ~. Note that you may have to escape or quote the command in that case:
Code:
emerge -C \<package-version
emerge -C "<package-version"


Q3: I tried to use emerge --prune (-P), but it wanted to remove a new version in favour of an old. How come?

A: The prune options assumes you want to keep the version that was last emerged. For instance, if you run emerge -e world, it isn't necessary the case that the highest version of a slotted package is installed last.

For further information please also take a look at:
Code:
emerge --help
man portage

Please also read the FAQ SA5: Things to not unmerge or remove.

2006-02-13: Added Q2, Q3 and link to SA5. --kallamej
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions 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