LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-31-2008, 10:05 AM   #1
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Rep: Reputation: 15
how to know the Architecture of my computer? 32 or 64


thanks in advance!
 
Old 10-31-2008, 10:08 AM   #2
maradnus
Member
 
Registered: Oct 2008
Location: Yellagiri Hills
Distribution: Fedora
Posts: 87

Rep: Reputation: 15
the command
Code:
 uname -a
may give some idea
 
Old 10-31-2008, 10:18 AM   #3
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
If you have Linux installed in your computer you can enter the command:

Code:
pg /proc/cpuinfo
this will list the CPU information for your computer. Look for the line which begins with "model name" for the processor in you system. You can look up (Google) the processor name to determine if it is 32 or 64 bit.

Mine reports for instance in the 5th line:
Quote:
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
 
Old 10-31-2008, 10:39 AM   #4
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AuroraCA View Post
If you have Linux installed in your computer you can enter the command:

Code:
pg /proc/cpuinfo
this will list the CPU information for your computer. Look for the line which begins with "model name" for the processor in you system. You can look up (Google) the processor name to determine if it is 32 or 64 bit.

Mine reports for instance in the 5th line:
this is mine: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
but i still do not know which one it is.
 
Old 10-31-2008, 11:10 AM   #5
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Linux PC (Intel(R) Core(TM)2 Duo CPU T8100 is a 64 bit dual core processor.

You can run 32 bit or 64 bit software with this processor.
 
Old 10-31-2008, 11:23 AM   #6
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AuroraCA View Post
Linux PC (Intel(R) Core(TM)2 Duo CPU T8100 is a 64 bit dual core processor.

You can run 32 bit or 64 bit software with this processor.
oh thanks very much! i will install ubuntu 8.10 ! so i need to make sure which one it is. so ~thanks~
 
Old 10-31-2008, 12:06 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
You can run either 32-bit or 64-bit or both with multilib.
 
Old 10-31-2008, 12:07 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I would use cat /proc/cpuinfo | grep lm

If the lm flag is present in the result, the CPU can support Long Mode, which is 64bit Extensions(AMD’s AMD64 or Intel’s EM64T)

http://blog.incase.de/index.php/cpu-...heir-meanings/


alternately lshw -C CPU | grep width will return either 32 bit or 64 bit..

Code:
it-etch:~# lshw -C CPU | grep width
       width: 64 bits     
          width: 64 bits
          width: 64 bits

Last edited by farslayer; 10-31-2008 at 12:13 PM.
 
  


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
Which architecture? Philosopher Linux - General 3 05-06-2007 10:43 AM
detect computer architecture diamonds Linux - Newbie 5 07-30-2005 06:08 PM
What is my computer architecture kgustaf Linux - Newbie 4 07-25-2005 04:35 PM
architecture howarddevore Linux - Hardware 1 04-25-2005 07:14 PM
What is architecture? mramgopal Linux - Newbie 3 06-29-2003 04:52 PM


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