LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 09: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, 12:01 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" 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, 02: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, 10: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-15-2005, 11:28 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
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, 01: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



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 12:42 PM
apt not removing dependencies JetJock Debian 11 06-18-2005 02:09 AM
Unneeded Services robpom Linux - Security 4 03-29-2005 08:28 AM
how do I "apt-get install" without removing dependencies? suse2166 Linux - Software 4 12-26-2004 07:41 PM
ps -A unneeded apps watashiwaotaku7 Linux - Software 4 11-09-2002 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:04 PM.

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
Open Source Consulting | Domain Registration