Comments on: 5 Command Line Ways to Find Out Linux System is 32-bit or 64-bit https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Sat, 09 Sep 2023 19:40:32 +0000 hourly 1 By: P. L. https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/comment-page-1/#comment-2056364 Sat, 09 Sep 2023 19:40:32 +0000 http://www.tecmint.com/?p=17528#comment-2056364 Very helpful. I was trying to confirm whether I was running the 32-bit or 64-bit OS’s on Raspberry Pi. With "uname -a", I kept seeing aarch64 when I had installed 32-bit.

After finding this article, I learned that some commands revealed “armhf” or “32” which was what I was expecting.

So, you might be running 32-bit OS on 64-bit architecture and get confusing results without a deep dive.

]]>
By: hello https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/comment-page-1/#comment-892372 Sat, 27 May 2017 18:14:55 +0000 http://www.tecmint.com/?p=17528#comment-892372 I’d just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.

]]>
By: DostrenzasLinux https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/comment-page-1/#comment-755874 Sun, 28 Feb 2016 21:21:29 +0000 http://www.tecmint.com/?p=17528#comment-755874 Great post!

You can also check using a environment variable:

echo $HOSTTYPE

Result:

i386 -> 32 bits
x86_64 -> 64 bits

]]>
By: SK https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/comment-page-1/#comment-730694 Wed, 30 Dec 2015 06:22:28 +0000 http://www.tecmint.com/?p=17528#comment-730694 In reply to xinchuangfu.

Thanks mate. I don’t know this command before. Much appreciated.

]]>
By: Ravi Saive https://www.tecmint.com/find-out-linux-system-is-32-bit-or-64-bit/comment-page-1/#comment-730680 Wed, 30 Dec 2015 05:43:32 +0000 http://www.tecmint.com/?p=17528#comment-730680 In reply to xinchuangfu.

@Xinchuangfu,

Thanks for the tip, yes that command worked on my Ubuntu, here is the output.

tecmint@tecmint ~ $ echo $HOSTTYPE
x86_64
]]>