Which two statements are true about building binary RPMs using rpmbuild?

Which two statements are true about building binary RPMs using rpmbuild?

Which two statements are true about building binary RPMs using rpmbuild?

A.
Building a source RPM always produces exactly one binary RPM.

B.
Using customer-complied binary RPMs is not supported by Oracle.

C.
Only theROOTuser can create binary RPMs.

D.
Only theROOTuser can install source RPMs.

E.
A binary RPM for a given hardware platform can be built on another hardware platform.

F.
Building a binary RPM will always generate a new source RPM.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


deyo

deyo

C is correct but other answers not sure

some.guy

some.guy

C & D are both NOT correct. ‘rpmbuild’ should not be run from super-user.

E is true – you can build cross-platform RPMs.

F is false – you can use rpmbuild -bb to specifically NOT build a source RPM.

B is false; Oracle provides a Porting Guide with instructions for using rpmbuild.

Therefore, A must also be true. But, you are thinking, I *know* I can build just a source RPM. Yes, but the question explicitly states that you are “building binary RPMs using rpmbuild”. Reworded, answer A becomes “building a source RPM to build a binary RPM produces exactly one binary RPM”. I can find no examples of building multiple binary RPMs simultaneously from a source RPM, so I vote for A.