How To Know If You Have a 32-Bit or 64-Bit Computer?

During the installation of any application on a computer, you may have faced a compatibility issue due to processor specifications such as 32-bit or 64-bit. To avoid any conflicts, you must know the information of the system processor before installing any software or application. Considering this issue, this guide offers various ways to know the computer processor, either 32-bit or 64-bit, in the Linux system.

The content that supports this guide is as follows:  

Let’s start with the guide.

Method 1: Using Terminal to Check 32-bit or 64-bit Computer

In Linux-based systems, the terminal is the main component to perform any operation. Using the terminal, we can execute various commands that will help get the information related to the 32-bit or 64-bit system. Let’s dig into them one by one:

Method 1.1: Using the “lscpu” Command

This command line utility is used to fetch the CPU information, including the architecture-related information, CPU(s), Vendor ID, and much more. To execute it, write “lscpu” on the terminal and hit enter:

$ lscpu

After executing the command, users can verify in the “CPU op-mode(s)” line that the CPU supports both 32-bit as well as 64-bit. In our scenario, the current architecture “x86_64” represents that 64-bit computer system.

You can also check the computer processor through the “Architecture” specification below:

  •  “x86”, “i386” or “i686”  represents the “32-bit” computer system.
  •  “x64”, “x86_64” or “amd64” represents the  “64-bit” computer system.

Method 1.2: Using the “uname” Command

In the Linux system, the “uname” command prints out the system information on the terminal window. To visualize the complete information, execute the below script: 

$ uname -a

The output returns “hostname”, “Kernel version”, “Hardware Name”, “Processor Type”, and “Operating System”. The processor information is highlighted in the above figure as “x86_64”.

Additionally, you can specify the “-m” flag with the uname command to get the architecture-related information:

 $ uname -m

The output verifies that the current computer is a 64-bit operating system.

Method 1.3: Using the “arch” Command

An alternative way to find the hardware information of the processor is whether the current system is running on 32-bit or 64-bit. For this, execute the below script that provides the processor information:

$ arch

After executing the command, it is verified that the current system is running on a 64-bit processor.

Method 1.4: Using the “getconf” Command

To know the computer hardware information, the “getconf” command is quite famous. It is utilized with the “LONG_BIT” utility to display the processor running on the current operating system. For instance, the script is provided below:

$ getconf LONG_BIT

The outcome of the above execution confirms that the operating system is 64-bit.

Let’s carry out the GUI method.

Method 2: Using GUI to Check 32-bit or 64-bit Computer

An alternative method can be adapted to check whether the computer is a 32-bit or 64-bit operating system via GUI. For this, step by step procedure is given below:

To know the 32-bit or 64-bit computer information, hit the “Settings” option by hovering the “Power” icon to access the specific settings window as seen below:

Scroll down from the left window and hit the “About” button. It navigates to the new window with complete computer information as below:

In this hardware information, you can know the “OS Type” as “64-bit” which is highlighted in the above figure.

Note: The GUI steps are performed on the GNOME environment of Ubuntu 22.04 Other Linux distributions supporting desktop environments have the same way (you need to go to the “About” section in the “Settings”).

That is all from this guide.


To know the 32-bit or 64-bit computer system, the “uname”, “arch”, and “getconf” commands are utilized via the Linux terminal. These commands work with different utilities to display the processor information in current hardware. Moreover, users can display the “OS Type” through the “About” section from the “Settings” window. This guide has covered every aspect of how to know the current operating system, either 32-bit or 64-bit.