Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 12-30-2005, 04:25 AM   #1
Registered: Jan 2003
Posts: 76

Rep: Reputation: 15
How can I install a rpm package and get the dependencies installed automatically?


I have installed FC4 with the minimal install option.

So, now, I will like to install a few more packages using rpm. However, I'm always faced with the problem of having to find and install the dependencies one by one.

Is there a simpler way whereby I can rpm install a package and then make it search for all the dependencies and install them automatically.
Old 12-30-2005, 04:36 AM   #2
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
Use yum it does all the resolving for you.Take a look at

and follow instructions on yum
Old 12-30-2005, 05:18 AM   #3
Registered: Jan 2004
Posts: 486

Rep: Reputation: 30
open the rpm dirctory you wnat to install the run:
yum localinstall *.rpm
or use smart:
smart install ./*.rpm
to install smart read this link
Old 12-30-2005, 11:56 PM   #4
LQ Newbie
Registered: Sep 2004
Location: California
Distribution: Fedora Core
Posts: 22

Rep: Reputation: 15
The best way to install dependencies will always be to use yum.
Old 12-31-2005, 07:16 AM   #5
LQ Newbie
Registered: Dec 2005
Location: Murfreesboro, TN
Distribution: FC4
Posts: 13

Rep: Reputation: 0
If you are actually using XWindows I highly recommend installing yumex (yum extended). It is a graphical version of yum. It still installs the dependencies like yum, but you also get to see the files that are installed, ones you may want to upgrade, etc. It shows all the dependencies that are needed right before the actual install and has many of the major repositories (repos) already configured plus you can add others. Check it out and you will never use yum at the command line again.

I think you just do yum install yumex from the command prompt if memory serves. Once installed I think it shows up under system tools.


Old 01-02-2006, 08:37 PM   #6
Registered: Jan 2003
Posts: 76

Original Poster
Rep: Reputation: 15
Thanks. I think yum will be very useful.

However, I'm faced with some difficulties.

1)I have write to hard disk all the rpms from the FC4 cd. The directory containing the rpms is /root/RPM.
So now, I want to create a respository using yum-arch /root/RPM
But I get many error messages that say "rpmError opening rpm packagename - error public key not available"

2) when I try to yum install packagename, I get this error message "Cannot find a valid baseurl for repo: updates-released"

Please advise.

Old 01-03-2006, 09:52 PM   #7
Registered: Jan 2004
Posts: 486

Rep: Reputation: 30
yum will be better if you can manage local repo for yum, if not use the smart, smart has option to add the lcoal rpm directories, add the /root/RPM directory to smart and run the with:
smart install Pakage_name
sarmt will resolve the dependencies from local driectories as will from online repos.
Old 01-06-2006, 01:34 AM   #8
Registered: Nov 2005
Posts: 80

Rep: Reputation: 15
Yum will be the best option to install the packagesand their dependencies.
sol'n for ur error:
#cd /etc/yum.repos.d/
here u have 6 files.edit them and update(write) the baseurl whatever u want.
By default it is fedora site address.
Then check the status of yum service(#/etc/init.d/yum status).Then restart it.

Then try to install a package.

Good Luck
Old 01-06-2006, 02:10 AM   #9
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I have Linux installed, now how do I do stuff like installing more software?
# I can't figure out what software I want and how to install/uninstall it
The table of equivalents, replacements, analogs of Windows software in Linux
# Find software here
# Guides to software management
LNAG: 4.5 Package installation and rpm package manager
Rute Guide's software explanation

FC4 should have these available


I recommend checking out Fedora Core 4 Tips and Tricks
Old 01-06-2006, 04:54 PM   #10
Senior Member
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,650

Rep: Reputation: 67
Yumex is great but download a package or tar.gz outside
of fedora mirrors and the dependency problem are pure hell!!
Yum, yumex won't and can't help.
one damn dependency has another dependency problem.
Until this problem is taken care of Linux will never
make it in the desktop market.
And as for that, I sure hate to this happen, because
I LOVE Linux.

Old 01-06-2006, 05:10 PM   #11
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Really? Linux made it to my desktop, ever since 1999.

Fedora Core 3 Tips and Tricks

The best dependency resolution I have found is portage, the package manager for Gentoo.


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
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 03:15 AM
rpm: package is / is not installed ??? blue.spark Linux - Software 3 02-26-2005 10:29 AM
rpm cannot find installed dependencies guitarfella Slackware 1 02-23-2005 05:24 AM
Installing from source -- dependencies installed via RPM kimchee411 Linux - Newbie 2 10-19-2004 03:40 AM
rpm can't find installed dependencies? jbeiter Linux - General 4 09-17-2004 04:53 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:16 PM.

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