LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-28-2007, 01:57 AM   #1
cylix2000
LQ Newbie
 
Registered: Oct 2006
Posts: 11

Rep: Reputation: 0
How to using rpm to install software with its dependency?


As the title,
I am going to install a python bitTorrent software,
I have checked by python version is 2.4.2,
but it shows I missed something for the bittorrent software,
is rpm can automatically install all the dependencies?

Thanks.
 
Old 03-28-2007, 02:05 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
It would help if you could let us know which distribution: suse, fedora, ...?
 
Old 03-28-2007, 02:10 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You didn't tell us what distribution of Linux you are using (there are many that use rpm). If it's Fedora Core, for example, then you should rather use
Code:
yum install packagename
to install a program (package) called packagename. That solves dependencies for you, downloads and installs them (given that the asked package is in the Fedora reposities); rpm itself does calculate dependencies and report you if some are missing, but it doesn't search nor download nor automatically install them for you.

Every modern distribution usually has a package manager (like yum in the above example) that can search for, download and install asked packages and their dependencies with one command. In most cases there exists even a graphical front-end for the package manager, so the user does not necessarily need to use any console commands if s/he doesn't want to. On Fedora the package tool can be found in the menus, I just don't remember it's name (but I assume it's easily found). On Ubuntu, for example, the package manager is apt (apt-get is the command to use) and the graphical front-end is called Synaptic or Adept (latter on KDE). I assume Mandriva and others have this kind of tool as well; SuSE probably uses it's YaST to do the job.

So: find out what tool your system uses to manage packages and either use the textual interface (command) or locate a graphical front-end, usually found in the system menu, or if you don't know how to find it (using Google for example: Fedora package manager), post here which distribution you are using and more precise examples can be given.
 
Old 03-28-2007, 02:14 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
When rpm says "failed because of missing dependencies", and lists the missing dependencies, you have to install those "missing dependencies" first, then install your BitTorrent client/package.

BUT:

As jay73 suggests, if you had mentioned the distribution you have, a person could recommend the best avenue to take in installing BitTorrent. Most mainstream distributions have a "smart" package management system that takes care of dependencies, making it simple to install the application you want. Going strictly with the predecessor "rpm" involves a little "know-how".
 
Old 03-28-2007, 05:42 AM   #5
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Quote:
Originally Posted by b0uncer
So: find out what tool your system uses to manage packages and either use the textual interface (command) or locate a graphical front-end, usually found in the system menu, or if you don't know how to find it (using Google for example: Fedora package manager), post here which distribution you are using and more precise examples can be given.
Alternastively just click on the RPM file from a file manager, and that will (in most distributions) invoke whatever package manager that system uses to install that package and its dependencies.

If that invokes a package manager but it doesn't find the dependencies then you may have to configure the package manager to link to a repository. That depends on your distribution. The easiest way would be to make a note of the name of the program that appears when you click on the RPM file, then search online for "ProgramName repositories"
 
Old 03-30-2007, 12:48 AM   #6
cylix2000
LQ Newbie
 
Registered: Oct 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you all first.
It is FC5, but without GUI, I can just using the command mode to do so.
It is because I am using SSH to remote the computer at all.
 
Old 03-30-2007, 01:01 AM   #7
bdox
Member
 
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
...then use the command that b0uncer recommended... =)
 
  


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
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
RPM Install help needed, dependency problem. NOVA5 Red Hat 4 10-20-2003 11:42 AM
Install evolution-1.4.0-2.i386.rpm on RedHat9 dependency issues? justinlq.org Linux - Software 3 06-25-2003 12:57 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM
How to install dependency after verying with RPM x2000koh Linux - Software 1 07-07-2002 08:21 AM

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

All times are GMT -5. The time now is 10:46 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
Open Source Consulting | Domain Registration