LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-29-2006, 10:55 PM   #1
DIGITAL39
Member
 
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Rep: Reputation: 15
Dependancies


I have used linux before but very briefly. I am a little confused by something. If the source install of program X would require program/lib Y but I decided to install a binary version, would I still need program/lib Y on the machine or does compiling the program with that dependancy clear out the need.

Thanks for the help

Pete
 
Old 09-29-2006, 10:58 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
You need whatever program it depends on either way. The best way to install apps is by using the package manager your distro comes with.
 
Old 09-29-2006, 11:14 PM   #3
DIGITAL39
Member
 
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Original Poster
Rep: Reputation: 15
The reason I ask is I am wanting to convert most of my windows servers to linux and put on the minimal requirements for all my applications and since I am a major newb I dont want to miss something.
 
Old 09-29-2006, 11:25 PM   #4
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
If you run a recent version of a distribution such as Ubuntu, Mandriva, or SuSE, you will generally not have to worry about dependencies as they are solved for you.

The package management software used by these distributions are connected to an only repository of software. So you simply run the package management software, select which program you want, and it downloads and installs that program and will automatically select the necessary dependencies and install those as well (or it can get them from disks, if you bought disks). In this way, you do not even have to visit the official homepage of the software that you want to install, in order to retrieve that software.

If, however, the software you want to install is not included in your distribution's repository, then you will have to visit the official homepage of the software to retrieve it. This has to be dealt case by case as there are a wide range of scenarios in this situation. If you ever have that problem (which shouldn't be too often), you can come here for help.
 
Old 10-01-2006, 09:19 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
If a program is dependent on a library, then it won't run if that library is missing. If you download the binary version, it won't run, and if you download the source, it won't compile. Your best bet is to download the binary from a site such as rpmfind.net or similar, and try to install it. If you are missing some package or library, go back to the same page from where you downloaded the binary. In all probability they would have listed all the dependencies to run that package, along with the links to their binary packages.

If you just want a minimal system, get any distro such as Mandrake, SUSE or RedHat. I would personally recommend Fedora Core. Fedora comes with all sorts of FTP, Web and Mail servers, so if you want it for a server, then, well, it's really good.

Also, for package installation, there are some tools such as Yum and apt-get. I haven't really tried any of them, but they're all really good. You just have to give a single command, and they'll take care of all the package dependencies themselves!

Welcome to the magical world of Linux.

Oh, and by the way, when you do find your way along Linux, do try your hand at compiling packages from source. It's fantastic! You can choose what parts of the program to build, customize the program to your particular set-up, and ever enable/disable the things you want/don't want. It's really cool!
 
Old 10-02-2006, 06:10 AM   #6
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
for a linux system with "everything" , i suggest go for the "edgy" distro , eg.fedora , ubuntu and i believe there are other too ... not to say that they are the best but usually they work quite good provided you understand the "limitation" a linux system can do for you ... infact i suspect that if you get the right hardwares(especially those tv , multimedia and whatever external devices) you will be greatly impressed by what linux can offer whether you are a pro or normal users ... probably you will find that it makes no sense spending more time in windows , that is you can do without formats or services linux still cant support currently ...

as for a linux server installation , its better to find a big distro that can do rather extensive "multiple choice" of applications with "automatic" satisfying of requiring lib dependancies during the installation ... i dont have much experience in servers but i think servers are actually light-weight linux installations ...


.

Last edited by alred; 10-02-2006 at 06:16 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with iPod, and Help with dependancies ASPX9100 Linux - Software 1 02-16-2006 08:48 PM
Failed Dependancies cvc505 Linux - Software 1 06-28-2004 01:08 AM
Java Dependancies :/ Zaskar Debian 0 02-26-2004 05:32 PM
Program dependancies robhargreaves Linux - General 5 01-31-2004 11:40 AM
Dependancies dibblethewrecke Linux - Newbie 3 11-24-2003 02:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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