pretty basic...uninstall something installed via portage?
pretty basic...uninstall something installed via portage?
Is there a simple way to remove things I've installed via portage? I installed sox on my Gentoox Pro machine, which also had to install 7 other packages, including ALSA. I found a better way to solve my sound editing problem though, and want to remove all that stuff that was installed. How can I do this easily?
-
- Novice
- Posts: 41
- Joined: Tue Feb 07, 2006 11:51 pm
Try "emerge -c sox"teitoku wrote:1, I want ALSA removed, sound support, all that GONE.
then "emerge --pretend depclean" make sure it lists correct dependencies.
If it's OK, then run "emerge depclean"
Depclean removes unnecessary dependencies.
You probably won't need to magic it. If you do... Heh, sorryteitoku wrote:2, magic kills my system. It doesn't have a config for a fully native install, and trashes my linuxboot.cfg.
-
- Novice
- Posts: 41
- Joined: Tue Feb 07, 2006 11:51 pm
That full page warning it gives kind of freaks me out though.
I don't know where to look up what each of these is used for, so if somebody could take a look and let me know if it'd be safe to go ahead with the depclean I'd really appreciate it. Some look a bit risky to me.xbox root # emerge --pretend depclean
*** WARNING *** --depclean is known to be broken. It is highly recommended
*** WARNING *** that `emerge --update --newuse --deep world` be ran before
*** WARNING *** commencing. However, using --depclean may still break link
*** WARNING *** level consistency within your system. `revdep-rebuild`
*** WARNING *** from app-portage/gentoolkit can help to detect breakage.
*** WARNING ***
*** WARNING *** Also study the list of packages to be cleaned for any
*** WARNING *** obvious mistakes. Packages can be manually added to the
*** WARNING *** world list by running `emerge --noreplace <atom>`.
*** WARNING ***
*** WARNING *** Make sure you have a backup.
- sys-apps/netkit-base
sys-devel/bin86
sys-apps/miscfiles
sys-apps/fileutils
app-shells/sash
media-sound/lame
app-arch/ncompress
sys-apps/sh-utils
sys-devel/bc
app-arch/sharutils
sys-boot/grub
sys-apps/slocate
media-libs/libmad
net-misc/dhcpcd
net-ftp/ftp
dev-libs/glib
sys-apps/textutils
media-libs/libvorbis
sys-apps/setserial
sys-libs/slang
media-libs/libogg
sys-apps/ed
app-arch/cabextract
sys-apps/fbset
search on http://packages.gentoo.org/ to find some info in each of those ebuilds you listed