LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-11-2005, 10:47 AM   #1
pulsez
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
Removing unneeded old dependencies


Hello. I've recently switched from Gentoo to Fedora Core 4. As a ex-gentoo (probably for a not a long period of time if i'll find fedora well too bloated), i find very dificult to accomodate with yum. I've googled for a problem and I didn't found any answer. The problem is that i don't know how to clean unneeded pacakges (dependencies no longer needed) with yum. Does yum has a option like gentoo's
Code:
emerge --depclean
or is there any way to do it without yum.

And i have another question: can i have a kde/qt only fedora... without gtk/gnome stuff (mainly without gnome because i use firefox and gaim), without breaking dependency tree?
 
Old 09-11-2005, 01:01 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
" or is there any way to do it without yum."

You can do it with command line rpm. Some example commands are:

list all installed packages
rpm -qa | sort | less

check for dependencies for package binutils
rpm --test -e binutils

remove binutils
rpm -e binutils

what package provides mount
rpm -q --whatprovides /bin/mount

See:
man rpm

And i have another question: can i have a kde/qt only fedora... without gtk/gnome stuff (mainly without gnome because i use firefox and gaim), without breaking dependency tree?

Partially. You can remove the portions of gnome which provides the desktop. But if you have at least one gnome application installed then you will have various gtk libraries installed to service those applications.

---------------------------------
Steve Stites
 
Old 09-11-2005, 03:47 PM   #3
pulsez
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
Maybee i didn't make myself understood but my problem is like the following:

I install e.g. gimp. so it installs e.g. gd as its dependency. Up until here it's ok. But what if i want to remove gimp? Is there a way to remove gd automagicly if it isn't used by other packages?
 
Old 09-15-2005, 11:43 PM   #4
big_mac126
Member
 
Registered: Oct 2004
Location: Toronto
Distribution: Fedora Core 4
Posts: 58

Rep: Reputation: 15
Quote:
Originally posted by pulsez
Maybee i didn't make myself understood but my problem is like the following:

I install e.g. gimp. so it installs e.g. gd as its dependency. Up until here it's ok. But what if i want to remove gimp? Is there a way to remove gd automagicly if it isn't used by other packages?
Code:
yum remove gd
will prompt you to remove gd, gimp and whatever other packages depend on gd (not exactly what you want I know, but closer than other answers)
 
Old 09-16-2005, 12:28 AM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
Originally posted by pulsez
I install e.g. gimp. so it installs e.g. gd as its dependency. Up until here it's ok. But what if i want to remove gimp? Is there a way to remove gd automagicly if it isn't used by other packages?
You see, "gd" is a regular package just like "gimp"; and there is no real way to tell whether you installed a package because you wanted the package's functionality itself (like gimp) or if you installed a package to satisfy another package's dependency (like gd in your case). What if you really wanted the functionality provided by the gd package alone (and not just wanted to have it around to satisfy dependencies)? There is no way for the package manager to tell that. All it knows is that gd is installed; and it is not necessary to remove it.
 
Old 09-16-2005, 02:18 AM   #6
pulsez
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you for all your answers; but today i had switched back to gentoo. The thing is that i would still like a binary/packages distribution, but with what i have tried so far, i couldn't find something with strong package management system. I want a package management that installs only what I need (not fancy dependencies) and that assures me that after a month of usage won't bloat my system with >2000 binaries from which more than 50% are from dependencies no longer needed; i feel like i want a gentoo-rpm style .

Anyway thank you for your answers. I hope that one day i will find what i'm looking for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing package with unmet dependencies in Sarge killy9999 Debian 6 09-08-2005 01:42 PM
apt not removing dependencies JetJock Debian 11 06-18-2005 03:09 AM
Unneeded Services robpom Linux - Security 4 03-29-2005 09:28 AM
how do I "apt-get install" without removing dependencies? suse2166 Linux - Software 4 12-26-2004 08:41 PM
ps -A unneeded apps watashiwaotaku7 Linux - Software 4 11-09-2002 09:58 PM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration