LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2005, 03:09 AM   #1
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Rep: Reputation: 30
Why SRPMs


Hi all!

I want to know why do linux companies supply SRPMs CDs of their distros?
I mean, is it only to compy with terms of the GPL licince terms or is it possible for users to use them to install Linux.
I had this question in mind because I noticed that I installed FC4 which is compiled for i386 arch. and I guess this is not the optimized solution, so I thought to ask to see if we can install Linux from the sources Cds.

thanks

hhegab
 
Old 09-24-2005, 04:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it does have a lot to do with GPL requirements, as many distro makers modify packages themselves for their needs, but they are pretty useful if needed. By compiling the packages yourself you can build packages to suit your system more, as you observed by building on a real i686 system rather than the more generic i386.
 
Old 09-24-2005, 04:40 AM   #3
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks for the reply,

Is it possiple to compile them myself, or shall it be a difficult task? I mean, is it automated using the first CD or shall it require more tedious work?

hhegab
 
Old 09-24-2005, 05:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's normally quite simple, but i've never really needed to use them. The rpm syntax has changed a lot over the years, but currently i *think* you can build an srpm into a binary optimized rpm using "rpm --rebuild blah.srpm" but don't quote me on that, there used to be an rpmbuild command which i think went away, and also -ta -tb -ba or -bb options.
 
Old 09-24-2005, 06:01 AM   #5
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Original Poster
Rep: Reputation: 30
I may give it a try soon!
I shall feedback if I do, thanks anyway

hhegab
 
Old 09-24-2005, 06:49 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
the RedHat and Fedora mailing lists and how tos have detailed instructions on using SRPMs. I'd suggest Googling for "srpm build" or variations on what you want to do. I think that there are around 5 steps for this.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Srpms carmat06 Fedora - Installation 1 10-08-2005 12:41 AM
What is SRPMS? slackr007 Fedora 2 01-02-2005 02:01 PM
srpms andy18 Linux - Newbie 1 07-15-2004 10:40 PM
What does SRPMS mean? lmellen Fedora - Installation 1 05-19-2004 12:53 PM
How to use SRPMS velska Red Hat 6 09-23-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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