Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Check Whether a Linux PC Is 64-bit or 32-bit by Command

Learn how to check whether a linux pC is 64-bit or 32-bit by command with clear steps, practical context, and useful troubleshooting guidance.

Table of Contents

This updated guide examines How to Check Whether a Linux PC Is 64-bit or 32-bit by Command and organizes the essential facts, background, and practical takeaways in clear American English.

What are the differences between 64-bit and 32-bit Linux systems?

64-bit systems can handle more data than 32-bit systems. But for efficient management, a supported operating system can communicate with the hardware. Therefore, there are 32-bit and 64-bit Linux distro versions. A 32-bit Linux distribution can be installed on a 64-bit version, but the opposite is not possible. Most modern computers are usually 64-bit systems.

Check CPU version on Linux PC

Step 1 : Launch the Terminal.

Step 2 : Type the following command and pressEnter.

lscpu

The 'ls' in the above command stands for 'list' and cpu is the CPU. Therefore, the command can be interpreted as 'listing CPU details'.

You should see output similar to the following:

kiran@fosslinux:~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 69 Model name: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz

Note the CPU op-mode (s) , this value indicates whether the hardware supports 32-bit and 64-bit.

Check the Linux distro version

Now that you know the type of hardware, you might want to know whether the current Linux distribution on your system is 32-bit or 64-bit. We will determine using both the command line and the GUI.

GUI

In the search box for Linux distribution programs, look for 'About', 'System Info' or 'Details'. Below is an example from Ubuntu 17.10, showing the type of operating system.

How to Check Whether a Linux PC Is 64-bit or 32-bit by Command — contextual image 1
Tested by GUI

Command line

Launch Terminal and use the uname command as follows:

uname -a

Output:

kiran@fosslinux:~$ uname -a Linux fosslinux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
How to Check Whether a Linux PC Is 64-bit or 32-bit by Command — contextual image 2
Check with the command line

If you see x86_64, it means that the currently running distribution is 64-bit. In addition, it will list the computer name and the Linux Kernel version.

FAQ

What is How to Check Whether a Linux PC Is 64-bit or 32-bit by Command about?

It provides a structured overview of linux, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.