LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-03-2005, 02:03 PM   #1
NomadABC
Member
 
Registered: Dec 2004
Posts: 189

Rep: Reputation: 33
Installing Source RPMs


Started installing software via RPMs. Nice and easy, did it for you. I managed to find better (and more up to date) packages in tarball format, so learned to compile and install. Now I want to know how to deal with the half-way house that is source RPMs (src.rpm). I can't make sense of the Fedora bible on this one.

Any chance of some pointers?
 
Old 02-03-2005, 03:39 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
from the linux cookbook...

download the src.rpm and install it with

rpm -ivh <packagename>.src.rpm

this will place sources in /usr/src/SOURCES and will create a spec file in /usr/src/SPECS

to build the spec file, meaning turn it into an rpm, cd into /usr/src/SPECS and as root run:

rpmbuild -bb <packagename>.spec

this will create a new rpm and place it in /usr/src/RPMS/i386

then install the new rpm normally
 
Old 02-04-2005, 07:09 AM   #3
NomadABC
Member
 
Registered: Dec 2004
Posts: 189

Original Poster
Rep: Reputation: 33
Many thanks. Will give it a go tonight.
 
  


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
error installing source rpms kryptonite0110 Linux - Software 2 03-24-2005 06:26 AM
installing source RPMs cylaxzene Linux - General 2 01-30-2005 03:16 PM
installing source rpms? minm Linux - Newbie 1 09-29-2004 05:18 PM
installing programs, rpms and source Hal Linux - Newbie 1 07-11-2004 08:46 AM
Installing from Source Rpms(*.src.rpm) elluva Linux - Newbie 6 10-15-2003 05:32 PM

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

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