Linux: Do I have 32 or 64 bit? How to find out
Linux, like other operating systems, has 32-bit and 64-bit versions. In this practical tip you can read which version you have.
32 bit or 64 bit?
To find out whether you have a 32-bit or 64-bit system installed, enter the following command in the console / terminal:
- "getconf LONG_BIT"
- The console then returns the corresponding value. (32 or 64)
The following command also works as an alternative:
- "uname -m"
- If the console returns "i386" or "i686", then you have installed a 32 bit system.
- "x86_64" or "amd64" indicates a 64 bit system.
Does your processor support 64 bit?
As with Windows, for example, a 32-bit operating system can also be installed on a 64-bit system. This is not noticeable in normal operation, but you cannot use the full performance of your PC.
- In contrast to 32-bit systems, 64-bit systems enable more than 4 GB of RAM.
- 64-bit systems can process larger integer values and therefore perform calculations faster.
You can find out whether your computer supports 64-bit in the console with the command:
- "cat / proc / cpuinfo | grep lm"
- This command gives you information about the installed processor. The "grep lm" attachment searches for values that contain "lm". "lm" stands for "Long Mode" and means that the CPU supports 64 bits.
- If no values are displayed with the command, your CPU cannot process 64 bits.