LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-05-2003, 09:23 AM   #1
ja_nch
LQ Newbie
 
Registered: Sep 2003
Location: Costa Rica
Distribution: RED HAT 9
Posts: 18

Rep: Reputation: 0
Question Difference between src.rpm files and source.rpm files


I am interested in knowing what is the difference of the kernel-<version>.src.rpm and the kernel-source-<version>.rpm files

I was advised to use the -source rpm to install the source files into my computer. So what is the .src.rpm file for?

Thanks.

JN
 
Old 09-05-2003, 12:50 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
a src.rpm in general, will extract to the /usr/src/redhat/SOURCES folder and you will have to take additional steps to install it, and any rpm in general will just install whatever the rpm is for ..
 
Old 09-06-2003, 06:12 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 52
src.rpms (aka source rpms) contain source tarballs, separate patches, separate scripts and specifications on how to compile all the includes stuff in order to build the binary rpms (*.i386.rpm, *.i686.rpm, *.athlon.rpm, noarch.rpm, ...) which you would install.

src.rpms are extracted like archives. They are not installed like binary rpms (which enter files into the RPM database).

The kernel src.rpm contains a loose collection of files, such as the original unmodified kernel from kernel.org plus hundreds of separate patches from Red Hat and from various sources. You would need to extract the kernel source archive and apply all the patches in exactly the same order and way as the src.rpm would do it upon running "rpmbuild --rebuild" on it.

On the contrary, the kernel-source binary rpm includes the fully patched ready-to-use kernel source tree that is used to build Red Hat's kernel versions found in their binary rpms. Inside /usr/src/linux-2.4 you can configure and build your own kernels and/or modules.
 
  


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
QUERY: unusual .src.rpm files.... kevingpo Fedora 1 07-23-2005 12:31 AM
Please Demystify .src.rpm files koodoo Linux - Newbie 5 05-01-2005 04:44 PM
how to install src.rpm files? ludwig W Linux - General 4 07-18-2004 11:02 AM
How to install from .src.rpm files Baran Linux - Newbie 2 09-02-2003 09:30 AM
rpm switches for src files krumholz Linux - Software 4 06-18-2003 12:07 PM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration