LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Dependencies (https://www.linuxquestions.org/questions/mandriva-30/dependencies-523735/)

Peter_APIIT 01-29-2007 07:24 AM

Dependencies
 
I am a newbie to Linux .If this is stupid question, please forgive my stupidness. I don"t know what is dependencies. I know is related to urpmi and rpm. Could anyone please explain to me the terminology as above ? Thanks in advance.

Hope GOD will blessed you.

Richie55 01-29-2007 07:42 AM

http://www.linuxselfhelp.com/linuxte...endencies.html

hope it helps

trashbird1240 01-29-2007 08:54 AM

Usually a dependency is a library file -- a section of code that is required by many different programs and therefore put in a separate file and linked to all the binaries that need it at compile time. On UNIX systems these are shared between binaries that are using them, unlike in Windows where libraries are loaded multiple times. Enough about that...

The package you want to install is "dependent" on the code in that library, which is held in another package. Synaptic, apt-get or yum should automatically get these for you. If you install from source, the page you download from, or a README in the ftp directory should tell you what the dependencies are, and where you can get them (often right in front of you ;)).

Joel

Peter_APIIT 01-30-2007 03:45 AM

Thanks guys.

mrbig 04-12-2007 03:17 PM

Another dependencies Question
 
Hi everyone. Could you answer a question added onto this one please. If the dependent version of a file is 2.6 and the only version you find is say 2.8. Will that make it acceptable to fill that dependencies?

ernie 04-13-2007 02:54 PM

If your package depends on v 2.6, the dependency will usually require v 2.6 or newer.

If you are using Mandriva, urpmi (or the GUI package installer) will resolve any dependencies for you, provided you are installing a Mandriva package. Dependencies are listed in the package you wish to install. Package naming conventions vary from one distribution to another, so if you try to install a RedHat package on a Mandriva system, you may have to resolve any dependencies your self.

Since you mentioned urpmi in your initial question, I take it that you are using Mandriva. If you set up the Internet Software Media Sources for Mandriva (the Mandriva software repositories on the Internet), you will have access to the full range of software packaged for use with it (over 17GB of software for Mandriva Linux 2007.1). These Internet Software Media Sources are mirrored at many ftp servers around the world. The easiest way to set them up is to follow the directions at the Easy URPMI WEB site.

By using the Mandriva packages and the Mandriva installer, you should not have to deal with package dependencies.

I see questions about software installation frequently, so I have written an article on my blog that I hope will be of help.

HTH,


All times are GMT -5. The time now is 12:58 AM.