LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 01-21-2004, 05:01 PM   #1
Borg Swarm
LQ Newbie
 
Registered: Jan 2004
Distribution: ubuntu 4.10
Posts: 11

Rep: Reputation: 0
How do I complile a srpm?


Yes, I know this sounds stupid, but how do I compile a srpm? Plain and simple, I'm sure.
 
Old 01-21-2004, 06:41 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Essentially rpm --rebuild <sourcerpm>

From man rpm:

Code:
REBUILD AND RECOMPILE OPTIONS
       There are two other ways to invoke building with rpm:

       rpm {--rebuild|--recompile} SOURCEPKG ...

       When invoked this way, rpm installs the named source package, and does a  prep,  compile  and  install.   In
       addition,  --rebuild  builds  a  new  binary  package.  When the build has completed, the build directory is
       removed (as in --clean) and the the sources and spec file for the package are removed.
THE rpm book: Maximum RPM
# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
 
  


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
finding srpm edgjerp Linux - Software 1 06-26-2005 02:59 PM
complile help atv087 Slackware 11 01-25-2005 02:18 AM
Srpm? halechris Linux - Newbie 2 11-16-2004 10:04 PM
How to complile and run my c file? ypzhuang Programming 6 07-27-2004 10:04 AM
noarch SRPM demmylls Linux - General 1 12-18-2003 02:13 PM

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

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