[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Installing a src.rpm



> I may just be missing something but how do I install a
> .src.rpm file on my RaQ?
 

That's what RPM is all about. The following is pretty much
it, till you get to studying.

To build a package from a source RPM (src.rpm) file:

cd /usr/src/redhat/SPECS
rpm -iv <source_file>.src.rpm

That unpacks the source files to /usr/src/redhat/SOURCES"
and creates a 'spec' in "/usr/src/redhat/SPECS" . Then do:

rpm -ba <new_package>.spec

That builds the package. Now do:

# rpm -ivU ../RPMS/ppc/<new_package>*.ppc.rpm

That installs the new package. 

-- 
Clayton McGow
mrwilder@xxxxxxxxxxx