Thanks for the information but as i know the RH rpms are compiled for the
i386 architecture to work on all ix86 PC.
but if i compile the source on my i686 will i benefit more performance
rather than using the already compiled rpm?


Fahad


-----Original Message-----
From: Tim [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 8:34 AM
To: [EMAIL PROTECTED]
Subject: Re: .rpm or .src.rpm ?


On Mon, 16 Apr 2001, Fahad Al-Duraibi wrote:

>     when i download packages i find some of them comes in two forms (
*.rpm
> )  and the source code ( *.src.rpm ).
>     what is the best ? will the source package be optimized for my PC more
> than the already compiled .rpm ?
>  

rpm is a red hat package management utility, generally they will come in
the version of archetecture, i.e., i386, i486, i586 and such. When you
install those packages via rpm -i(vvh) blah.arch.rpm, the rpm utility will
install the program for you.
When you install the blah.src.rpm the package utility will install the src
of the (source) program you just d/l'ed.
You will then need to go to somewhere like /usr/src/redhat/RPMS/*
to find the (generally gziped and tared package. You will then need to
install it manually.
gunzip blah.tar.gz
tar -xvf blah.tar
cd blah
./configure
make
make install
----

Chances are you'll find some dependancy problems that you will nbess to
install.

As a personal aside, the rpm guy is incredibly powerful and usefull, but I
tend to prefer doing the work myself...
YMMV

-tm




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to