Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-30-2004, 12:43 PM   #1
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Rep: Reputation: 36
Can't install src.rpm

Can someone tell me how the source code rpm's should be installed.I don't know what option should be passed after rpm command.I tried -bp,but it didn't work.Help.
Old 06-30-2004, 12:56 PM   #2
LQ Newbie
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
.src.rpm is completely different from .rpm, at least to my knowledge (I'm a newbie too :P)
Old 06-30-2004, 12:56 PM   #3
Senior Member
Registered: Oct 2003
Posts: 2,630

Rep: Reputation: 228Reputation: 228Reputation: 228
It depends what version of rpm is installed on your system. For RPM4.1 and greater included with most recent rpm distros the command is:

# rpmbuild --rebuild <name of source rpm>

for RPM4.0 and earlier it's:

# rpm --rebuild <name of source rpm>

The process creates/builds a new rpm in some subdirectory of /usr/src; it usually tells you where the rpm is placed. That's the rpm you install.
Old 06-30-2004, 12:59 PM   #4
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
When you rpm a source rpm look in
for the rpm to install
Old 06-30-2004, 01:09 PM   #5
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Original Poster
Rep: Reputation: 36
Thanks guys, for the help.


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
install src.rpm ust Linux - Software 7 10-13-2005 08:34 AM
how to install a .src.rpm labced501 Mandriva 11 10-07-2004 03:59 PM
how to install *.src.rpm vanhelsing Linux - Software 1 06-10-2004 08:35 AM
rpm install from src kcella Linux - Software 2 11-19-2003 05:19 PM
How to install src.rpm gexiaofei Linux - Software 9 08-05-2003 02:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

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