I want to know if there is a simple way to tell if I have a 32 or 64 bit system.
The exact reason for my question, I am downloading software Studio 8 pdf http://www.qoppa.com/pdfstudio/demo/download
And get the choice below.

Linux – 32 bit Download Linux 32
Linux – 64 bit Download Linux 64

Recommended Answers

All 4 Replies

Try the command "uname -r" - if you have a 64bit system, there should be an x86_64 in the kernel name string that will print. Ditto, look at the files in /boot. There are a number of other methods as well, but this will work. This will tell you if the OS is 32 or 64 bit, but it WON'T tell you if the hardware is 64-bit capable if it is running in 32-bit mode.

You can use the command 'file'
file /bin/cat wll give you output like
cat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

Do a cat of /proc/cpuinfo.

If you could see "lm" in the flags, then your CPU is 64 bit. lm stands for long mode.

All good sugestions, IMO. :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.