LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-24-2008, 04:32 AM   #1
futoskope
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
How to check my CPU architechture(i.e. i386/ x86_64 ) ...?


I saw some software have installation bundle/rpm for specific architechture like i386,i586,i686,x86_64...how can I determine exactly which package is suitable for my machine...and how could i determine that...primarily i want to see if my CPU falls into anyone of the above mentioned category or not. I did "cat /proc/cpuinfo" but couldn't found any information related that..i am giving the output here...please anyone help...

thanks and regards


processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
stepping : 11
cpu MHz : 1998.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr lahf_lm
bogomips : 5322.83

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
stepping : 11
cpu MHz : 1998.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr lahf_lm
bogomips : 5319.98
 
Old 09-24-2008, 04:50 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
uname -m

i386->i486->i586->i686

if you have a i486 machine, you can use i386 and i486 software. If you have a i686, you can use i686, i586, i486 and i386.
if you have x86_64, you can only use x86_64 software, unless you install multilib hack, but that depends on your distro
 
Old 09-24-2008, 06:25 AM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Well, according to the CPU family you have an i686 compatible CPU.
The model name (Core2 Duo) means you have an Intel with EMT64, so in fact it would be compatible with x86_64.

SO - you can install an x86_64 system or an i686 system. i686 should work fine for pretty much everything. x86_64 would give you a great system but you may have to sacrifice things like some proprietary software (Adobe Flash + plugin, Skype, and a few others). It is possible to install for x86_64 and then add 32-bit compatibility libraries so you can still run some 32-bit proprietary binaries.
 
Old 09-24-2008, 08:15 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by futoskope View Post
I saw some software have installation bundle/rpm for specific architechture like i386,i586,i686,x86_64...how can I determine exactly which package is suitable for my machine.
I'm pretty sure your hardware covers all the above architectures. The "lm" in flags means "x86_64" and I think support for the others is all implied by x86_64.

In order to run software of a specific architecture, you also need a Linux kernel that supports that architecture.

Someone already suggested "uname -m" to find out what architecture the kernel itself uses.

If the kernel isn't x86_64 then no application program can be x86_64. Other than that, you probably can have any combination within the list you provided (686 applications on a 586 kernel, 386 application on an x86_64 kernel, etc.)

You might have some unusual distribution that doesn't support that (allows only x86_64 applications when the kernel is x86_64). But that isn't likely.
 
Old 09-25-2008, 03:40 AM   #5
futoskope
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you all..

Thank you very much...the information is really useful
 
  


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
i386 vs. X86_64 wfernley Linux - Software 9 10-16-2007 07:32 AM
i386 and x86_64 nmansour Fedora 2 09-18-2007 08:58 PM
x86_64 and i386 neouto SUSE / openSUSE 3 09-08-2005 05:15 AM
i386 & x86_64 jojojo Linux - Newbie 4 05-21-2005 10:53 AM
i386 or x86_64? rssguy Linux - Newbie 2 04-20-2005 07:42 AM

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

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