Linux 64bit – How to Know if CPU Supports 64bit Operating Systems Under Linux

64bitlinuxx86

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

Best Answer

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.