LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2008, 03:06 AM   #1
yadava
Member
 
Registered: Apr 2008
Posts: 60

Rep: Reputation: 15
Cool problem with dependecies


HI ALL
whenever i download any rpm from internet and try to install
that it shows some error like failed to resolve dependecies
how we can download full dependencies of a rpm from repositeory
that resides on internet
 
Old 04-24-2008, 03:21 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
For that you use a package manager application that knows how to do it; on RedHat/Fedora distribution that's yum (command line tool; there's also a graphical interface to it, but I can't remember it's name - check the menus..) You use it by telling it which package you want to install, then it checks (provided that it can access at least one reposity) if the available reposities have that package and if yes, download it and it's dependencies (if they are available - they should, that's the whole idea of a reposity) and install them. Try
Code:
yum install someprogram
or use the graphical tool.

"Automatic package managers" like yum or apt(-get) were created at least partly because of the annoying dependency trouble ("-hell" in the past), to get things done without spending days or weeks hunting for dependending packages. But note that the reposities usually only hold one version ("latest") of a package, and that's what the package manager gets (if it's newer than existing package on the system, or if it's not yet installed), so don't be upset if your package manager seems to install an "old" version of some package for you - the versions at the reposity are packaged and put there by people who might not bet paid for it, and definitely don't have time to create and upload new packages at the slightest change. Typically the reposities' packages are not the newest versions all the time - to get the very newest version of some software you probably have to compile it yourself (but is it worth it, taken into account the easiness of using a package manager + reposities with ready packages?).
 
  


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
xine dependecies erikhallsten Slackware 7 04-14-2008 02:03 AM
Failed dependecies problem!! JavaWannabe Fedora 3 06-19-2007 09:04 PM
Yum update problem... Missing dependecies? Yig Linux - Software 3 01-03-2007 03:33 PM
Where to get dependecies? ElectroLinux Linux - Newbie 3 02-22-2005 06:00 PM
I am trying to figure out dependecies newmandrakeuser Linux - Newbie 13 12-06-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 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