Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I find out that my CPU supports 64bit operating systems under Linux, e.g.: Ubuntu, Fedora?

share|improve this question
possible duplicate of How come I installed Ubuntu 64 bit on a Pentium 4 machine? – Gilles Jun 4 '11 at 9:57
More generally, see What do the flags in /proc/cpuinfo mean? – Gilles Jul 20 '12 at 1:45

3 Answers

up vote 8 down vote accepted

Execute:

grep flags /proc/cpuinfo

Find 'lm' flag. If it's present, it means your CPU is 64bit and it supports 64bit OS. 'lm' stands for long mode.

Alternatively, execute:

grep flags /proc/cpuinfo | grep " lm "

Note the spaces in " lm ". If it gives any output at all, your CPU is 64bit.

Update: You can use the following in terminal too:

lshw -C processor | grep width

This works on Ubuntu, not sure if you need to install additional packages for Fedora.

share|improve this answer

If your CPU is a 64bit one (x86-64), you can use it with a 64 bit OS.

Here is a list of 64bit CPUs: http://en.wikipedia.org/wiki/64-bit#Current_64-bit_microprocessor_architectures

share|improve this answer

I think the easiest way is by:

lscpu|grep "CPU op-mode"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.