Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-21-2004, 06: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, 07:41 PM   #2
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:

       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


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

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration