LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2003, 05:55 AM   #1
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Rep: Reputation: 30
.src.rpm, .i386.rpm and .i686.rpm


Hi all

Well, I know that there exists three types of extensions for linux packages (the very famous ones)
.tar.gz
.tgz
.src.rpm
.i386.rpm (or .i686.rpm)

now what is the difference between the last two extensions? And why is the last one the largest always in size?
What is the meaning of a pre-compiled package?

hhegab
 
Old 06-19-2003, 06:20 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
The meaning of pre-compiled package is that someone like you, me, etc. sat home and compiled lets say bind on his own P-100 (i386 architecture) machine from source, then that person uses packaging tools to wrap his work into one file, so depending on the architecture it was compiled in it gets .i386.rpm, .ppc.rpm (for Motorola chips - Power PC),etc, so here comes the advantage of compiling the packages from source, doing so you make sure the software is compiled for your processor with optimization you specifiy, etc, there are some software packages that are better be compiled from source, but usually pre-compiled packages are fine as long as the dependencies satisfied and what not.
 
Old 06-19-2003, 07:19 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Also note if you install a src.rpm, most of the argument of "compiling from source" will be moot, because what you get is minimally the tarball and the /spec file. If you have special requirements, for instance wrt optimization, you could easily tweak the spec file to set up your CFLAGS and configure options. I say "minimally" because if you look at a src.rpm package like for instance Bash-2x, you get 10+ patches as well, all applied in the right order, no fussing needed...
 
  


Reply



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
is it ok to use i386 rpm for i686 & how about src rpm amolgupta Linux - Software 4 05-01-2013 08:45 AM
Are i386 & i686 rpm compatibles? smau Red Hat 1 03-07-2004 06:04 AM
which RPM do I want? i386 or i686? onlinejb Linux - Software 2 01-17-2004 07:36 PM
rpm i386,i686, and noarch on RH9 zstingx Linux - General 2 10-27-2003 02:10 PM
src.rpm and i386.rpm ? futurist Linux - Software 9 07-14-2003 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:38 PM.

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
Open Source Consulting | Domain Registration