Installing source rpms (rpmbuild --rebuild)

Last modified on July 24, 2026 • 1 min read • 46 words
In order to install source rpms .src.rpm you need to rebuild the package (as root): rpmbuild –rebuild package.src.rpm This results in a binary rpm.
In order to install source rpms *.src.rpm you need to rebuild the package (as root): rpmbuild --rebuild package.src.rpm This results in a binary rpm. On Suse 9.2 the newly created binary rpm can be found in /usr/src/packages/RPMS. You can install it as usual: rpm -ivh package.rpm