I downloaded and installed Ubuntu from the official site. However, I don't know if I installed the 32-bit or 64-bit version.
In Windows 7 I could right click My Computer and it listed which version it was.
Is there an easy way to check in Ubuntu?
|
I downloaded and installed Ubuntu from the official site. However, I don't know if I installed the 32-bit or 64-bit version. In Windows 7 I could right click My Computer and it listed which version it was. Is there an easy way to check in Ubuntu? |
|||||||||||||||||
|
|
I know at least 2 ways. Open a terminal(Ctrl+Alt+T) and type:
|
|||||||||||||||||||||
|
Ubuntu 12.04+ with Unity
Alternative to get the above screen:
I know the terminal responses are good but I guess this is the GUI answer. :) Ubuntu 11.04 with Unity
|
|||||||||||||||||||||
|
|
A very easy and short way is: Open the Terminal, write the following and press Enter.
The resulting number (in my case 64) is the answer.
|
|||||||||||||||||
|
|
Reference: How Do I Know if I’m Running 32-bit or 64-bit Linux? Use the command:
You will typically get:
for 32-bit (or possibly i586 or i386), and:
for 64-bit. |
|||||||||
|
|
Open terminal and try the However, the best way to determine the architecture is to run the |
|||||||||||||
|
|
On 64 bit systems
On 32 bit systems
` |
|||||
|
|
Architecture Checker
The script is basically this:
This will need to be in a executable text file, and |
||||
|
Go to the System Settings and under the System section, hit Details. You will get every detail including your OS, your processor as well as the fact whether the system is running a 64-bit or a 32-bit version. |
|||||
|
|
Open the Ubuntu Software Center and search for Not exactly a better answer, but at least it doesn't require a terminal... ;-) Edit I found an even easier one: open Help -> About Mozilla Firefox and you will see it right there... ;-) At the bottom it displays the "user agent string", e.g. on my 64-bit system:
or on my 32-bit system:
(But this is still not the answer that should be there ;) ) |
|||||||||
|
|
The power button (top-most, extreme right) has an "About this Computer" option. :) |
|||||
|
|
As far as I can remember, it is possible to install x86_64 kernel on a 32-bit system. As a few wrote here, you should look what libraries you have/what packages you have installed on your system. So the safest way to see is to check if you have Another possible way is to check what packages you have downloaded in All of that can be done from Konqueror/Dolphin by just pointing and clicking or:
|
||||
|
|
|
You should take in mind that you may have a 64 bit CPU while you install a 32 bit kernel. I.e. If your CPU is 64 it doesn't mean that your OS is 64, it depends on what you've installed.
so to get the hardware platform use Check this SO question |
|||||
|
|
Have a look at your Software Sources in Synaptic or Software Centre. If you haven't deleted your original source eg cdrom, it will (?) indicate the architecture. It's a GUI but it won't say '32bit' nor '64bit'. |
|||
|
|
|
EDIT: This solution does not work because Bash can be compiled with 64 bits support under 32 bits platforms. In Bash, using integer overflow:
It's much more efficient than invoking another process or opening files. |
|||||
|
|
I am not sure what you call an OS being 32 bits. To be specific, my kernel and desktop distribution is a 64 bits Debian/Sid, but I routinely use Do you feel that my 32 bits environment should be called 32 bits (I believe so) or 64 bits (after all, it does run inside a 64 bits kernel). In that environment For practical purposes See the Linux specific personality(2) syscall (and also the uname(2) one). And the hardware information about your processor is visible with e.g.
its output is the same in my desktop 64 bits system and in my 32 bits schroot-ed environment. |
|||||||||||||||||||||
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?