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. |
It would help if you could let us know which distribution: suse, fedora, ...?
|
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 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. |
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". |
Quote:
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" |
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. |
...then use the command that b0uncer recommended... =)
|
All times are GMT -5. The time now is 03:45 PM. |