Linux.com

Author Message
Joined: May 12, 2008
Posts: 8
Other Topics
Posted May 15, 2008 at 3:54:23 AM
Subject: converting source rpm to binary rpm

Hi,

I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.

so I tried this

rpm --rebuild somethin.src.rpm

But I am gettin '--rebuild:Invalid option' as output

Is there another way to rebuild source rpm.?

Thanks in advance.
Sunny
Edit/Delete Message

Back to top Profile Email Website
Penguin
Joined Mar 28, 2008
Posts: 66

Other Topics
Posted: May 19, 2008 3:05:09 PM
Subject: converting source rpm to binary rpm

Do you have a package called "rpmbuild" installed ? (If you're not sure try at a console running "rpmbuild -?" - possibly as root, or with a "sudo" before it - if it's installed it'll give you some options, if not, try and install it with your favourite package manager).
If you have it installed try "rpmbuild -bb [Your-Source-Package]"

Back to top Profile Email Website
Penguin
Joined Mar 28, 2008
Posts: 66

Other Topics
Posted: May 28, 2008 3:09:13 PM
Subject: converting source rpm to binary rpm

Just wondering how you've got on with this issue ? Did the above command work for you, or did you find an alternate way to do it ?

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya