LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-23-2003, 06:06 AM   #1
Ross Clement
Member
 
Registered: Jun 2003
Location: UK
Distribution: Redhat 9 (work) Fedora 1 (home)
Posts: 171

Rep: Reputation: 30
Using Source RPMs


Hi. I've just built rpms (and installed them) from source rpms for the first time. It does seem to me that the additional effort involved is worth it, given that I know that the binary code that results is compiled with the current (and updated through apt-get) compiler, and linked against the libraries that I have on my machine. BTW: I installed Acrobat Reader 5.08.

I'm running rh9 (soon to be Fedora core I hope), and have had to do things in tthe past such as install a rh6.x rpm of xfig, as I couldn't find a newer one (I know how to get a newer one now).

Is there any reason why I shouldn't always, where I have a choice, preferentially download and install source rpms?

Is there any way of getting synaptic or apt-get to download and build from src, rather than downloading binaries?

Thanks in anticipation,

Ross-c
 
Old 11-23-2003, 07:50 AM   #2
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
Hi Ross,

well, IMHO one reason why one could consider not installing every single package from SRPMs is that this will force you to have many -devel packages installed as well when it wouldn't really have been necessary.

I do go for RPMS sometimes, but only on some specific cases (like when I can't find the most up-to-date version of one package), but usually I grab pre-built RPMs from sites such as Freshrpms. YMMV.

As for downloading sources, I am not sure synaptic can do this, but apt-get apparently can, with the commands 'source' and the '-b' option (I have never tried it, though). 'apt-get --help' gives this:

Commands:
[...]
source - Download source archives

Options:
[...]
-b Build the source package after fetching it

HTH

Andre
 
Old 11-23-2003, 02:39 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Re: Using Source RPMs

Quote:
Originally posted by Ross Clement
Hi. I've just built rpms (and installed them) from source rpms for the first time. It does seem to me that the additional effort involved is worth it, given that I know that the binary code that results is compiled with the current (and updated through apt-get) compiler, and linked against the libraries that I have on my machine. BTW: I installed Acrobat Reader 5.08.
You have been fooled with this particular src.rpm. Nothing is recompiled or relinked. Acrobat Reader is not Open Source. The src.rpm you have built only extracts a binary-only archive of Acrobat Reader and adds a few features, such as a desktop menu entry, wrapper script or may be a work-around for startup problems in an UTF-8 locale.
 
Old 11-23-2003, 02:44 PM   #4
Ross Clement
Member
 
Registered: Jun 2003
Location: UK
Distribution: Redhat 9 (work) Fedora 1 (home)
Posts: 171

Original Poster
Rep: Reputation: 30
Thanks for the advice. Yes, I was downloading acrobat rpms to get around the UTF-8 problem (which I found another way of fixing on the net). The first rpm (binary) that I downloaded complained about a signing mismatch or something vaguely similar. So, I downloaded the src rpm instead, and it worked.

Cheers,

Ross-c
 
  


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
where do source rpms go? sum1else Fedora 8 09-25-2005 01:01 PM
Building RPMs from source IronBeagle Linux - Software 2 03-04-2005 01:46 PM
kernel-source rpms santner Linux - Software 1 04-29-2004 03:43 PM
help with source rpms with rehat8.0 amtsdw Linux - Newbie 1 04-24-2003 08:12 AM
source rpms Daveb3 Linux - Newbie 9 04-05-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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