LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dependency file question (https://www.linuxquestions.org/questions/linux-newbie-8/dependency-file-question-557355/)

xunilTCB 05-29-2007 01:15 AM

Dependency file question
 
Each time i install the software, I need to search for other dependency file to install together.What is the use of dependency file, can anyone gv me some information or link to this topic?

And if I wan to install a new software like perl or php, how can i check the dependency file in debian linux? Thanks....

acid_kewpie 05-29-2007 02:10 AM

well firstly, just use apt-get or synaptic on debian and that will resolve all dependencies for you. dependencies are where one program requires the functions and data from another seperate pacakge. much of the design ethos of unix is to only do the least unique coding that is needed, and let other libraries fill in gaps, and let you concentrate on doing one thing well, and not replicate effort.

xunilTCB 05-29-2007 07:22 PM

That is another question here, "apt-get" usually using online search for the thing we want, right?

Example like "apt-get install mysql-server" , it will search from internet to look for this package , and it will also list out the dependency file for us, and it continue search the internet and help us to download it and then install.

Here is the stupid question i ask, if i don have internet connection, how i download the dependency file and the software? So i need download all the dependency file and the software early and won't facing trouble when don't have internet connection. That's why I need to find out the way to check the dependency file for each software. And also it will speed up my process of installation.

Hopefully my stupid question here won't causing ur trouble. Thanks

jay73 05-29-2007 11:56 PM

All I can think of is go to the Debian site and locate the package you are looking for in their database; each package is listed with all its dependencies so you can figure out what you need to get in addition to the package you are looking for. However, you need to bear in mind that the dependencies themselves may have their own dependencies so you should research those as well.

xunilTCB 05-30-2007 09:18 AM

Ok, thanks fof the help...

pixellany 05-30-2007 01:17 PM

I don't want to sound elitist, but trying to maintain and configure Linux without at least a dial-up internet connection sounds like a nightmare.

Flip side: If you have no connection, then you are installing from DVD or CD--and all the dependencies are there.

(If you have no connection, you cannot download SW that needs dependencies!!)


All times are GMT -5. The time now is 08:42 AM.