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

Reply via email to