LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-13-2004, 04:09 PM   #1
TigerCardeo
Member
 
Registered: Feb 2004
Distribution: Mandrake!!! :)
Posts: 32

Rep: Reputation: 15
Question on getting software: is from "source or binary" better?


Title question.

Well, I have been wondering this for QUITE a while now...searched many different websites and can't seem to find an answer....is there anything BETTER about each one? (I'm currently on Mandy 9.2).

Thanks much for any help,
./tiger
 
Old 04-13-2004, 04:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Source installations give you much more control over the installation unlike compiled source. I think this is better, others just find it time consuming.
 
Old 04-13-2004, 04:15 PM   #3
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
sure source ensures that you compile for the right kernel. this can and most oftenly is crucial. Second source is generaly more availible then binary. This can be nice if you change your kernel or upgrade. In which case all you do is recompile the source. Third souce can show you problems in the program's that if you were so inclined might fix and send the patch to the author. If you did then you would really be a linux user.
 
Old 04-13-2004, 04:23 PM   #4
TigerCardeo
Member
 
Registered: Feb 2004
Distribution: Mandrake!!! :)
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
Source installations give you much more control over the installation unlike compiled source. I think this is better, others just find it time consuming.

ooh! A mod answered me lol

thanks!

"more control over installation"...

I always have wondered about this when I hear it. Whenever I download a program, untar it etc., it always creates its own directories...

...am I missin' something?

./tiger
 
Old 04-13-2004, 04:28 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Before you configure it run:
./configure --help

You'll see what options are available to configure the install such as choosing where you want the files to go and which optional components you want to build.
 
Old 04-13-2004, 04:31 PM   #6
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
no tar defaultly decompresses an entire directory this way what you are seeing in say quake2.4/ directory is multiple files and directories arranged just how the program likes it to be. This is because a lot of scripts will use relitive commands such as make ../../../makefile. this would mean that if one does not have the dir's set up right the scripts fail. If you were feeling ambitious or just bored you could move around everything and then fix all the little errors. Now as far as control, think about it. In a binary file what can you easily edit? The Makefile? or how about the Install script? Not really. you could just edit the Makefile and change the version or insert your own script/program with no problem. I have rarely found errors with source compiles. Sure it takes a little time. But the source is usally smaller download and it allows me to tinker.
 
Old 04-13-2004, 05:45 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
I would definitely advocate installing from source rather than from binary files. If the package was created on a machine that contains all possible dependencies (even 'optional' dependencies, like for plugins) then you must have them too, even if you have no intention of installing or using the 'optional' ones. At least if you are compiling from source you have control over which 'optional' dependencies are met, and which are not.

I hope that wasn't too convoluted: I am not really alert today
 
  


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
"linux burning software open source" what's the best out there behmjoe Linux - Software 4 11-29-2005 11:44 AM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
Looking for ideas on creating Linux software "installer" that has no visible source. child_of_dust Linux - Software 3 07-07-2004 09:32 AM
Installing software from source GCC "error"? Paulsuk Linux - Newbie 4 02-27-2004 11:53 AM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:25 PM.

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