You are about to install a new program on an RPM based Linux system.
Which of the following would be the best way to accomplish this?
A.
Get the source code in a tarball and install from that source.
B.
Get a source RPM and use rpm to install it.
C.
Use rpm to install the program’s binaries from an RPM package.
D.
Use cpio to extract the binaries from a source RPM and use rpm to install those sources.
Explanation/Reference:
If a rpm-file is available the easiest way is to use “rpm” to install it, since the binaries are already available. If source-files are used a development environment (make, gcc, …) must also be available.