Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    185

    Installing from source and rpm question

    Hi,

    What is the diffrence between installing from source and rpm? Are there any diffrences?

    Thanks
    Koppan

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    Rpm is actually a pre-compiled binary which has been compiled for certain specifications. You can't make any changes while installing using an rpm.
    But installing from source is building it for your architecture. You can specify the paths where you need to install, you can explicitly say, which all modules needs to be included etc.
    It is always advisable to build from source, even though it is easy to install from an rpm.

  3. #3
    Join Date
    Nov 2005
    Location
    Minneapolis, MN
    Posts
    1,648
    Quote Originally Posted by david510
    It is always advisable to build from source, even though it is easy to install from an rpm.
    I'm going to have to go ahead and disagree with you there. RPMs are generally built by folks that not only have extensive knowledge of package compilation, but many RPM builders specialize in just the package they are building. They know the app, the compile time flags, and they choose the best overall compromise of performance, stability, and flexibility.

    While compiling from source gives you the option to customize the package to your environment, you have to work out the dependencies and patches on your own. That means that you need to track the security updates for every package you build and compile in security patches as they become available.

    By sticking to RPM-based distributions you know you are running common code, and security updates are as easy as running the update process on your package manager (yum, apt, yast).

    Unless you can list off specific reasons why a custom compilation would suit your needs better, you should stick to RPM based distributions.
    Eric Spaeth
    Enterprise Network Engineer :: Hosting Hobbyist :: Master of Procrastination
    "The really cool thing about facts is they remain true regardless of who states them."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •