LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2010, 08:15 PM   #1
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
about RPM file


what is the difference between <filename>.rpm and <filename>.src.rpm ?
both same?
 
Old 11-22-2010, 09:12 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Buster (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
An rpm is a RedHat installation package for an application or library or other component. With the src prefix, it means that the package that contains the source files of an application or library or other component (whereas most packages contain the compiled components only).

Last edited by neonsignal; 11-22-2010 at 09:14 PM.
 
Old 11-22-2010, 09:22 PM   #3
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
A minor clarification ... a source rpm (.src.rpm) contains the components to generate a new binary rpm (.rpm)

Eg. installing myapp-1.0.0.src.rpm may install the following files:-

~/rpmbuild/SPECS/myapp.spec
~/rpmbuild/SOURCES/myapp-1.0.0.tar.gz

You could then edit the spec file or add extra source files or update the original source tarball then create a new binary rpm

hth
 
1 members found this post helpful.
  


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
how to uninstall a software installed with tar.gz file..or .rpm file av.dubey Linux - Newbie 3 06-21-2008 02:27 PM
cannot use rpm -q in rpm spec file? Okashiiken Programming 5 06-29-2007 03:13 AM
How can I generate / build and RPM from *.src.rpm file sreekumartg Red Hat 3 02-23-2007 06:23 PM
where does it go when rpm a rpm source file feetyouwell Linux - Software 1 09-03-2004 05:14 PM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration