How can I install a rpm package and get the dependencies installed automatically?
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How can I install a rpm package and get the dependencies installed automatically?
Hi,
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.
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.
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"
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.