LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-17-2004, 08:19 AM   #1
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
i386,i585,i686 ?????


Can someone please explain the difference between i386,i585,i686. I presume that it has something to do with the generation of the processor. I also dont understand why all my red hat RMPS are i386! what is the good of i686 then.

Also why would you download rpm source? wouldn't you have to compile is anyway! why have it in rpm format? why not .tar.gz?

thanks
 
Old 02-17-2004, 08:35 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
i386,i586,i686 does refer to the generation of the processor. Most likely, if they are tagging something i586 or i686 it means they used compiler flags (march=i686 -mmmx -msse or the likes) that will cause the binary not to work on an earlier processor. If it is tagged i386 then it should work on any x86 processor that can run linux. So you might be missing out on a little bit of binary optimization if you are only using i386 tagged binaries.

As far as why you use src rpm's instead of .tar.gz files... I believe in Red Hat that will enter the dependency information into your rpm tree so that if you get a program that is dependent on the one you compiled from source it will know it's dependency is there.
 
Old 02-17-2004, 08:47 AM   #3
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Original Poster
Rep: Reputation: 31
thanks
 
Old 02-17-2004, 07:37 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
With regard to the src rpm thing and dependencies:

Installing rpm files, or rebuilding from a src rpm file will add information into your rpm database. If you install from normal sources, this information isn't entered. It can be annoying. However, there is a way! Enter checkinstall. Basically, when compiling from source, instead of changing to root and giving make install, you would type (as root) checkinstall. This will create an rpm file (or deb or tgz) out of the sources you're compiling from, and install it thereby ensuring that the information is entered into the rpm database. You can also make it keep a copy of the rpm file it generates, so you can keep a copy around just in case

Hope this helps.
 
  


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
i585 with i686 problems gmspitali Mandriva 1 11-02-2004 09:42 PM
i686 vs. i386 andzerger Linux - Distributions 1 02-22-2004 09:26 PM
is celeron 500 an i686 ? if so how to move from i386 to i686 raft Linux - Hardware 1 12-22-2003 07:58 AM
i686 vs i386 NewtonIX Linux - Newbie 4 11-08-2003 05:04 PM
i386 or i686? .300WSM Linux - Newbie 5 10-22-2003 09:47 PM


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