Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Check OS Architecture 32 or 64 bit Ubuntu / CentOS / Debian / Linux

#1
I know at least 2 ways. Open a terminal(Ctrl+Alt+T) and type:

Code:
uname -a


Result for 32-bit Ubuntu:

   
Code:
Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux


whereas the 64-bit Ubuntu will show:

Code:
Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


Shorter version:

$ uname -i
x86_64

or

file /sbin/init

Result for 32-bit Ubuntu:

/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

whereas for the 64-bit version it would look like:

/sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

Same for systems using systemd (16.04):


Code:
file /lib/systemd/systemd


Result for 64-bit:


Code:
/lib/systemd/systemd: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically






Ubuntu 12.04+ with Unity

    Hit Command(mac) or Window key.
    Type Details, and select "Details" icon
    Read "OS type" field
    64 bit OS will read "64-bit"

[Image: ukq0i.png]

Alternative to get the above screen:

    click System Menu (gear at top right corner)
    click "About this Computer"

I know the terminal responses are good but I guess this is the GUI answer. :)
Ubuntu 11.04 with Unity

    Hit Command(mac) or Window key.
    Type System info, and select System Info icon
    Read "OS type" field
    64 bit OS will read "64-bit"
[Image: 8OHl5AB.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to disable/enable GUI on boot in Ubuntu 20.04 Focal Fossa Linux Desktop SickProdigy 0 1,304 03-30-2022, 12:57 AM
Last Post: SickProdigy
  How to install Node.js 16 on Ubuntu 20.04 LTS SickProdigy 0 1,121 03-23-2022, 08:13 PM
Last Post: SickProdigy
  (Ubuntu) 7 Days to Die: How to Install Plugins/Mods for your Dedicated Server SickProdigy 0 1,183 03-29-2020, 10:46 PM
Last Post: SickProdigy
  Fedora - Fedora and CentOS Stream xSicKxBot 0 981 10-20-2019, 08:14 PM
Last Post: xSicKxBot
  Linux To Bid Goodbye To Linux Floppy Drives xSicKxBot 0 1,156 07-31-2019, 04:54 AM
Last Post: xSicKxBot
  BT Adopts Ubuntu OpenStack xSicKxBot 0 1,195 07-26-2019, 04:06 PM
Last Post: xSicKxBot
  Debian 10 “Buster” released xSicKxBot 0 1,052 07-10-2019, 07:36 AM
Last Post: xSicKxBot
  How to Change User Password in Ubuntu xSicKxBot 0 1,139 04-26-2019, 06:10 AM
Last Post: xSicKxBot
  How to Install LDAP Account Manager on Ubuntu Server 18.04 xSicKxBot 0 1,107 04-01-2019, 12:34 AM
Last Post: xSicKxBot
  Linux Kernel 4.20 Reached End of Life, Users Urged to Upgrade to Linux 5.0 xSicKxBot 0 1,266 03-31-2019, 05:40 PM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016