Can't install src.rpm
Hi,
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. |
.src.rpm is completely different from .rpm, at least to my knowledge (I'm a newbie too :P)
|
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. |
When you rpm a source rpm look in
/usr/src/rpm/RPMS/ or /usr/src/rpm/SRPMS/ for the rpm to install |
Thanks guys, for the help.
|
All times are GMT -5. The time now is 08:31 PM. |