LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 06-28-2005, 09:12 PM   #1
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Source vs Source RPM vs RPM


I'm still somewhat confused at times about all this stuff, running FC, I can work with RPM's

In my case I'm upgrading a MySQL 4.1.11 to 4.1.12

But regardless of that I want to understand some concepts behind this stuff.

If I grab soure to compile from I have to run all this make and configure stuff.
I should NOT have to do this on FC systems as I can grab a source RPM right?

Now about this source RPM, do I grab this from the package provider, in my case mysql or are source RPM's typically made available by FC themselves?

I certianly can't find em so I grab em from MySQL.

The RPM's which come out of this source RPM compiling going into:
/usr/src/redhat/RPMS/i386

are the RPM's which are typically made for DL as standard RPM's?

Just trying to get my logic straight.
 
Old 06-28-2005, 09:24 PM   #2
nevarlen
Member
 
Registered: Feb 2005
Distribution: Debian 3.x & Fedora Core 3, Debie on IBM Thinkpad
Posts: 68

Rep: Reputation: 15
if you take a look at the manuals for yum and/or rpm, you will notice that you have an option to download/install the packages from a source, instead of rpms. These sources are made available or tailored to your system by developers, therefore you do less of that configure and make stuff..Installing from the source can be usefull if you have to back into the source and recompile to add modules and so forth..
I would like to try to answer your last question but I dunno what DL means, I will just wait..
 
Old 06-28-2005, 09:28 PM   #3
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
DL = download
 
Old 06-28-2005, 09:44 PM   #4
nevarlen
Member
 
Registered: Feb 2005
Distribution: Debian 3.x & Fedora Core 3, Debie on IBM Thinkpad
Posts: 68

Rep: Reputation: 15
they are standard for specific distros..For example, if you look at mono rpms, you will find that there are specific rpm made for specific distros..
 
Old 06-29-2005, 12:13 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You get more control what features to include if you compiled from either tar, tar.gz, or tar.bz2 file. With src.rpm files you do not have any control what options that you want included. The rpm utility during the build process just finds what header libraries you have installed. Usually, you will hit a wall on some builds. RPM files are binaries tailor for certain instruction models, so they will not give you the full use of the computer you are using. RPM files creates a mess of things and it can hurt your life from the yelling and screaming. I always question RPM files because I do not know what they will do to my system after the installation. A backup is needed before an RPM update.

I prefer people use Gentoo because you can customize what feature you want to include for each program. All programs in Gentoo can be either compiled or installed from binaries. Gentoo sorts out all the hard work if a program depends on another program or library for a certain feature.

Compiling from either tar, tar.gz, or tar.bz2 is not that hard. You just do:
./configure
make
make install

Programs like WINE you have to do:
./configure
make depend
make
make install

It is required to read the install directions before compiling and installing.
 
  


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
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
where does it go when rpm a rpm source file feetyouwell Linux - Software 1 09-03-2004 04:14 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
binary vs source RPM (and other RPM questions) calimer Linux - Software 4 06-22-2003 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 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