LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-20-2003, 10:57 AM   #1
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Rep: Reputation: 15
the differences between RPMs


What exactly is the difference between the different types of RPMs ?
For example:

apache-1.3.23-3.rpm
apache-1.3.23-3.src.rpm
apache-1.3.23-3.i386.rpm
apache-1.3.23-3.i586.rpm
apache-1.3.23-3.i686.rpm
etc...

I use suse 8.1, so which type of RPM is right for me ?
 
Old 02-20-2003, 11:05 AM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
The i386/i586/i686 are versions designed for a particular CPU. The i686 version will work on Pentium 4, Athlon, and such, but not on a 386.

So, if you have a newer processor, get either the i586 or i686. If you're using a 386 or 486, get the i386 version.

The .src one contains the source code, which you can use to build the binaries yourself, by doing:

rpm --rebuild xxx.src.rpm

This ought to work regardless of what kind of processor you have, and is commonly used to make a binary optimized for your own system.
 
Old 02-20-2003, 12:00 PM   #3
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Hi wapcapplet

Thanks for your reply.

Building binaries is not something I foresee being able to do in this millenium.
So for me it's double click on the ol' .rpm file and hope for the best.

Does it matter if I install an "...src.rpm", or just an rpm without the "src" in it?
Would that make a difference for me?

I go to rpmfind a lot, but I can never figure out which rpm is for me.
 
Old 02-20-2003, 12:13 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Misteree
Does it matter if I install an "...src.rpm", or just an rpm without the "src" in it?
xxx.i386.rpm
xxx.i586.rpm
...
are precompiled binaries, you don't need to compile them, just install. The i386,486,586 & 686 is an indication for what sort of cpu you have.
Quote:
So, if you have a newer processor, get either the i586 or i686. If you're using a 386 or 486, get the i386 version.
The xx.src.rpm contains no precompiled binary but the source, if you download that you can compile the source inside the src.rpm to obtain an .rpm you can install on your system
Quote:
The .src one contains the source code, which you can use to build the binaries yourself, by doing:
rpm --rebuild xxx.src.rpm
So it would be better if you build an rpm from a src.rpm 'cause it'll be optimized for your cpu, but if you have a 686 system and you happen to find a xxx.i686.rpm grab that as it's already built for your type cpu
 
Old 02-20-2003, 12:26 PM   #5
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
I have a P3, so it seems i586 is the best I can go for.

Compiling, building, binaries, etc... are things that are way over my head.

Double-clicking on the .rpm file is about as techno as I get.

So, we're making some progress here;
If I understand correctly, I should go for rpm's with i586 in the name, and no .src, right?

And what about suse 8.1?
Can I install any rpm at all? or do they have to be specific to suse?
 
Old 02-20-2003, 12:47 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
no they don't have to be suse specific. you already have apache on your disks, don't understand why your trying to download it.
 
Old 02-20-2003, 01:42 PM   #7
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Misteree
I have a P3, so it seems i586 is the best I can go for.
yes
Quote:
Compiling, building, binaries, etc... are things that are way over my head.
Binary:
as in 'executable file' (an "exe" in windows terms)
Building:
as in building a source rpm (= RedHat package manager, think of a "self-extracting zip" in windows terms) to obtain an rpm (a package with binaries in it that you can install)
Compiling:
as in making an executable file from a source by translating the source to code the cpu understands (-> a compiler's work)
Quote:
Double-clicking on the .rpm file is about as techno as I get.
You'll have to learn it sooner or later, better now imho
Quote:
If I understand correctly, I should go for rpm's with i586 in the name, and no .src, right?
Yes, but if there aren't any i586's around, but you spot a src.rpm you can build it yourself.
Quote:
And what about suse 8.1?
Can I install any rpm at all? or do they have to be specific to suse?
Nope any rpm will do
 
Old 02-20-2003, 01:44 PM   #8
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
I looked all over for it and i can't find it.

I'm used to Mandrake; so suse is a little different for me at this time.

With Mandrake, Apache got installed automatically, and the other packages (MySQL, PHP, etc...) were on the cd's; so on with "Software Manager".

But with suse, I can't find any of them anywhere.
I am therefore looking for the said packages.
Also, I'm into nuke, not compiling. So rpm's it has to be. And i want to make sure I use the right ones.

What is the ".noarch.rpm" about?
 
Old 02-20-2003, 01:45 PM   #9
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Misteree
What is the ".noarch.rpm" about?
For any architecture
 
Old 02-20-2003, 01:49 PM   #10
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by iceman47
You'll have to learn it sooner or later, better now imho
I'm a-fightin' it tooth 'n nail !
I belong to the "The-command-line-is-satan" cult (wink! wink! nudge, nudge)
 
Old 02-20-2003, 01:52 PM   #11
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by iceman47
For any architecture
But, for any distro as well ???
 
Old 02-20-2003, 02:01 PM   #12
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Misteree
But, for any distro as well ???
I think it doesn't matter for what distro the rpm is.
I say 'I think' 'cause I'm not too sure about that.
I've never had problems installing mandrake rpm's on a redhat box and vice versa.
 
Old 02-20-2003, 02:06 PM   #13
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
go to a suse mirror and get what you need
ftp://ftp-linux.cc.gatech.edu/pub/li.../8.1/suse/i586
 
Old 02-20-2003, 03:23 PM   #14
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks all.

I am now all set and ready to go.
 
  


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 to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
what are the differences? LinuxPadawan Linux - General 10 07-27-2005 03:39 PM
Differences progjm Linux - Distributions 3 09-08-2003 11:02 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM
what are some differences between C and C++? Chooco Programming 9 06-07-2002 07:14 AM

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

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