Check if my machine is 64-bit capable on Linux (Ubuntu)?

4

1

Similar to this question, I have a 32-bit OS (Ubuntu), but I want to know if my machine is 64-bit capable... I checked out the question, but the answers are Windows-specific... I also checked this question, but I want to know if it is 64-bit capable, I know my OS is 32-bit.
Thanks, whoever I am

Abdullah 0v0

Posted 2014-06-18T20:14:11.573

Reputation: 43

usually the best bet is to look up your CPU model online. you can use lshw to tell you. – Frank Thomas – 2014-06-18T20:18:55.850

Please include the output of cat /proc/cpuinfo in your question. – Cristian Ciupitu – 2014-06-18T20:20:20.050

3lscpu should work as well . . . – ernie – 2014-06-18T20:21:27.770

Surely this is a duplicate question and has been asked many times. grep ' lm ' /proc/cpuinfo - no output = 32 bit processor. lm = long mode == 64 bit capable and is considered the most relilable flag. – Panther – 2014-06-18T21:11:33.403

How can I check if my CPU is AMD64 compatible? from Ask Ubuntu. – Cristian Ciupitu – 2014-06-18T21:40:20.173

Just a note note of caution: even if your CPU is capable of running a 64-bit OS, it is not always advisable to do so. The Ubuntu site recommends 32-bit Ubuntu if you have less than 2GB of RAM. 64-bit code is always bigger, and any gain in CPU speed is swamped by the degradation if there is increased swapping activity. – AFH – 2014-06-18T22:18:38.393

Answers

0

If you have an Intel processor, they provide their own site with tons of information of each processor, called the Intel ARK. Just search for your processor there, and it will have a section called Intel 64, with either a yes or no box.

For AMD processors, here is a list of all their processors, and by pressing View Details you can see if it is 64-bit capable.

Simon Sheehan

Posted 2014-06-18T20:14:11.573

Reputation: 8 641

11

run (as root/sudo)

lshw -class CPU

and look at the Width attribute. If its 64bit, your hardware is capable.

More info here: http://www.basiclinuxcommand.com/lshw/check-cpu-processor-type-information-linux-fedora-using-lshw-command.html

Frank Thomas

Posted 2014-06-18T20:14:11.573

Reputation: 29 039

6This should be accepted answer. – punund – 2014-12-03T20:02:02.180

1

Just to throw a revision of Frank Thomas's answer into the ring. Enter this into your terminal and the answer will be pretty obvious.

lshw -class CPU | grep -i "width"

neanderslob

Posted 2014-06-18T20:14:11.573

Reputation: 623

0

The way I usually do it is by googling the cpu. You can pull the CPU from the BIOS and a look for the specs from Intel, Newegg, etc.

dzampino

Posted 2014-06-18T20:14:11.573

Reputation: 680