LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2004, 12:29 AM   #1
oasisbhrnw99
Member
 
Registered: May 2004
Posts: 43

Rep: Reputation: 15
src.rpm?


I know what an rpm file is, but what does it mean when a file ends in src.rpm? Do you install it differently than a normal rpm?
 
Old 10-22-2004, 04:15 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
src.rpm means that it contains source code for the package. You install it the same as any other rpm package, but you will then have to compile it for the package to work.

A quick search will get you more comprehensive instructions, but usually the steps are...

Go to the directory (rpm -qlp <package>.src.rpm will tell you where that is).
Look for and read any files called "README" and/or "INSTALL".
If they're not there, or if they are there and they don't tell you any different type the following commands.

./configure
make
make check
make install



John
 
Old 10-22-2004, 07:15 AM   #3
_TT_
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
You can also make rpm packages from the source rpm by using the following command:

rpmbuild --rebuild package.src.rpm

(where package.src.rpm is the name of the file)
 
  


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
is it ok to use i386 rpm for i686 & how about src rpm amolgupta Linux - Software 4 05-01-2013 08:45 AM
Building RPM via src.Rpm ivanatora Linux - Newbie 2 02-20-2006 04:29 PM
src.rpm and i386.rpm ? futurist Linux - Software 9 07-14-2003 05:31 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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