Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

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

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

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

  • Quote

Post by ian! » Mon Apr 05, 2004 10:16 am

Navigation: [Gentoo Fundamentals] [Table of Contents]

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

A: You can uninstall a package by running:

Code: Select all

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: Select all

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: Select all

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: Select all

emerge --help
man portage
Please also read the FAQ [topic=33609]SA5: Things to not unmerge or remove.[/topic]

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
Top
Post Reply
1 post • Page 1 of 1

Return to “Frequently Asked Questions”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic