Is My Binary 32 or 64 Bit Linux?

Is My Binary 32 or 64 Bit Linux?
Contents

How do I know if my Linux is 32 or 64-bit binary?

If you’re interested in the CPU itself, look at /proc/cpuinfo for details about the CPU(s) detected by the Linux kernel. which tells us that it’s a 32-bit executable using the Intel 80386 instruction set (possibly with extensions). Note that it isn’t quite as simple as 32-bit versus 64-bit architectures.

How can I tell if binary is 32 or 64-bit?

Open the .exe file using Notepad to check its headers

After you open the binary file in Notepad, use the Find option to look for the 1st occurrence of the word PE . The letter that follows the PE header tells you if the file is 32-bit or 64-bit. 32-bit (x86) programs would have PE L as the header.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.