Operating Systems > Linux and UNIX

the difference between rpm and srpm

(1/3) > >>

fuckoffmicrosoft:
im usin redhat 7.3

voidmain:
SRPM or src.rpm means "source rpm".  A source RPM is an RPM that contains the source code for the package and spec file used to create the binary (RPM or i386.rpm) RPM.  If you do an:

# rpm --rebuild somepackage.src.rpm

it will build the binary RPM(s) and install those freshly built RPM(s) into your system. somepackage-x.x.i386.rpm tells you the RPM package name, the version, that it is a binary build for an x86 processor and can only be installed and run on a system with that processor type.  SRPMs are not processor specific/dependant as they have to be built/compiled before being installed.

[ September 25, 2002: Message edited by: void main ]

Calum:
so srpms are those files with .src.rpm at the end?

presumably it would be far better (more stable * likely to build properly et c) to do the above using a source rpm than to install a binary?

Also, what happens if you just rpm -Uvh'' a .src.rpm file?

Master of Reality:
it will put the source somewhere in /usr/src for you to use.

fuckoffmicrosoft:
ok so i tried redhat for server but i dont really like the interface either

next question can mandrake use redhat rpm or just mandrake rpm?

Navigation

[0] Message Index

[#] Next page

Go to full version