[ale] *src.rpm and .rpm files

David Brooks db at amorphous.org
Mon Jan 15 23:39:41 EST 2001


yeap, it just places the binary RPM in /usr/src/redhat/RPMS/$arch/ or 
something like that.

-Dave

Jim Popovitch wrote:

> Doesn't the rpm -rebuild functionality do all of that?
> 
> -Jim P.
> 
> --- James Kinney <jkinney at localnetsolutions.com> wrote:
> 
>> When you see *.src.rpm, it is a non-compiled source file. You have to
>> compile it and then install the binary. 
>> 
>> To install the *.src.rpm :
>> rpm -ivh *.src.rpm
>> it gets put in various places in /usr/src/redhat. There is the spec
>> file
>> which is used to build the binary placedin
>> /usr/src/redhat/SPECS/*.spec,
>> the source file, tar.gz or tar.bz2, and all the patches, are in
>> /usr/src/redhat/SOURCES.
>> 
>> To compile:
>> cd /usr/src/redhat/SPECS
>> rpm -ba foo.spec
>> 
>> it will put the new src.rpm file /usr/src/redhat/SRPMS
>> and the binary file(s) in /usr/src/redhat/RPMS/[arch]
>> where [arch] is i386, i486, i586, i686, arm, etc.
>> 
>> Install the new binary with rpm -ivh
>> /usr/src/redhat/RPMS/[arch]/foo.rpm
>> if new,
>> or rpm -Uvh /usr/src/redhat/RPMS/[arch]/foo.rpm if upgrading or
>> install
>> or rpm -Fvh /usr/src/redhat/RPMS/[arch]foo.rpm to only upgrade if
>> already
>> a version installed
>> 
>> JimK
>> Local Net Solutions
>> 
>> On Sun, 14 Jan 2001, I.M. wrote:
>> 
>>> One more question, then I'll leave you all alone for a while.
>>> 
>>> I am not understanding the difference between a 'regular' rpm file
>> 
>> and a 'source' rpm file.
>> 
>>> And what is the difference between them in the install? I
>> 
>> downloaded fetchmail-5.6.2-1.src.rpm
>> 
>>> I was going to use rpm -F, which I have been told may not be such a
>> 
>> keen idea, and then there are sections in the man pages that I am
>> having some difficulty understanding, about having to do a
>> "--rebuild".
>> 
>>> Some info would be cool before I go and totally screw something up.
>>> 
>>> Thanks,
>>> 
>>> -Indira
>>> 
>>> 
>>> --
>>> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
>> 
>> message body.
>> 
>> --
>> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
>> message body.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list