LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2007, 01:48 AM   #1
ganeshinforum
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
which one is best RPM or Source Packages?


Hi ,

am newbie to linux. Any one tell me which one is best RPM or source packages? What is the difference and advantages?

Regards ,

Ganesh Murugan.R
 
Old 01-05-2007, 02:08 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The advantage to compiling from source is that you can add or remove options when you run ./configure. I did this once when I compiled a console web browser which added the display of pictures using the fbdev. Before you compile from source, read the README and INSTALL files and look at the output of "./configure --help". Sometimes the results are the boilerplate autoconfig options common to all packages. Sometimes you can enable a feature such as using an mp3 library.

Another advantage is that the binary is compiled for your computer and not for i386 as in some binary packages. So you may get better performance.

An advantage to using RPMs is that all of the packages supplied by the distribution use the same family of libraries and programs. So it is easier to install a package and not have to compile a newer version of a dependency.

Another advantage is that a distro will track security problems, fix them and publish a patch. Otherwise you would have to keep track of your programs and apply patches and recompile yourself.
 
Old 01-05-2007, 03:37 AM   #3
ganeshinforum
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
"apache modules"

Thanks.

I installed source package for apache using ./configure . but now i want to perl module in apache . what can i do?
 
Old 01-06-2007, 06:30 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The best of both worlds may be to locate the source rpm for the corresponding rpm package the you need, for your distro.

The ./configure script, if successful will create a Makefile. It doesn't install apache2. You still need to run "make" and "sudo make install" to create and then install the binaries.

Apache is a large and complex environment. There will be many configure options to consider. If this is for personal use, you might want to install the binary rpm package instead. If this is for a corporate website, then performance and other advantages to compiling from source may be worth it.
 
Old 01-07-2007, 01:44 AM   #5
ganeshinforum
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks. I understood.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 11:42 AM
How to tell rpm of "installed from source" packages hfreeman Linux - Software 2 07-28-2004 02:55 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 04:07 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration