[KLUG Members] srpm packages

Adam Williams members@kalamazoolinux.org
06 Feb 2002 12:59:03 -0500


>I see references to source rpm files.  They say that I can download them and 
>then run them to create an rpm file.  Does this mean that I download the 
>srpm, run it according to the instructions and then run rpm on the resulting 
>file to install it?  

rpm --rebuild blahblah.src.prm

creates binary RPMS in /usr/src/redhat/RPMS/{arch/

Often handy to avoid upgrading libraries, etc... version dependencies. 
You can also install a source RPM, go to /usr/src/redhat/SPECS, change
the blahblah.spec file to suite your needs (example: add Kerberos
libraries) and do a rpm -bb blahblah.spec to create the binary RPMS in
the aforementioned directory.  Often this is easier and cleaner than
untar, ./configure, make, make install, yada yada