Monday, January 4, 2016

How to find out my Ubuntu is 32 bit or 64 bit


There are few things that you can do, if you have no clue about what kind of ubuntu that you have whether it's 32 bit or 64 bit, follow this simple tutorial.

To find out about what type of ubuntu 32 bit or 64 bit is very easy, we can do it from command line, but before we do that let me tell you about this:
  • x86_64 means it is a 64 bit operating system
  • anything other than x86_64, such as i686, i585, i486, i386 means it is a 32 bit operating system

Alright now i want you to open command line/console/terminal on ubuntu (press CTRL + ALT + T) and then type this command:

uname -m

What did you see? if you get x86_64 that means you have 64 bit ubuntu, other than that for example you get i686 as the output, that means you have 32 bit ubuntu.

There is also other command that we can use to find out about ubuntu 32 or 64 bit, using this command:

getconf LONG_BIT

That command will immediately tell you whether you have a 32 bit ubuntu or 64 bit ubuntu, it will output 64 or 32.

One more command that you can use to find out about ubuntu 32 or 64 bit is using the dpkg command, usually we use dpkg to install debian package but it can also output operating system type.

dpkg --print-architecture


That's it now you should be able to tell what kind of ubuntu that you currently have, 32 bit or 64 bit.

No comments:

Post a Comment