LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-02-2008, 05:05 AM   #1
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Rep: Reputation: 15
Which version of linux 32 or 64 bit


Hello,

I have just installed the new version of Ubuntu. How do I find out whether it is the 64 bit or 32 bit version.

Regards,

Nevica
 
Old 08-02-2008, 05:08 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Did you download an ISO image, which you burnt to a CD and then used to install? If so, what was the name of the file? That will tell you. How is it that you don't know what you installed?
 
Old 08-02-2008, 05:12 AM   #3
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Original Poster
Rep: Reputation: 15
No I didn't download an image. I used an original CD. Wasn't able to see the filename in this case.

Is there a UNIX command for finding out this information?
 
Old 08-02-2008, 05:16 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What doe the command

uname -a

show?
 
Old 08-02-2008, 05:21 AM   #5
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
Linux

Linux users should type the uname command. Depending on the platform, you may see

[cph@gaylord ~]$ uname -a
Linux gaylord.stata.com 2.6.11-1.27_FC3 #1 Tue May 17 20:24:57 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

[cph@caddo ~]$ uname -a
Linux caddo.stata.com 2.6.9-5.0.5.EL #1 SMP Fri Apr 8 14:20:58 EDT 2005 ia64 ia64 ia64 GNU/Linux

[cph@tango ~]$ uname -a
Linux tango.stata.com 2.6.10-1.771_FC2smp #1 SMP Mon Mar 28 01:10:51 EST 2005 i686 i686 i386 GNU/Linux

In the above listing, 'gaylord' (x86_64 GNU/Linux) and 'caddo' (ia64 GNU/Linux) are 64-bit compliant. 'tango' (i386 GNU/Linux) is only a 32-bit platform.
 
Old 08-02-2008, 05:26 AM   #6
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Original Poster
Rep: Reputation: 15
When I type:

uname -a

I see

Linux Sarzana 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

So, is there any information as to 32 bit or 64 bit.

Nevica
 
Old 08-02-2008, 05:31 AM   #7
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by NEVICA View Post
When I type:

uname -a

I see

Linux Sarzana 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

So, is there any information as to 32 bit or 64 bit.

Nevica
Your system is 32bit, which is indicated by "i686" in uname output.
 
Old 08-02-2008, 05:38 AM   #8
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks ErV
 
Old 08-02-2008, 07:30 AM   #9
reine
LQ Newbie
 
Registered: Jun 2008
Location: Nantes-France
Distribution: ubuntu hardy on a HP Pavillion N5442 P3 933MHz 621.7MiB +ADSL i love debian too (deb rulez!)
Posts: 18

Rep: Reputation: 0
they don't go: RTFM on LQ,...thats nice!(i'm not ironic btw!) Cheers, Reine.
 
Old 08-02-2008, 07:58 AM   #10
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Quote:
Originally Posted by ErV View Post
Your system is 32bit, which is indicated by "i686" in uname output.
Not necessarily. The 'i686' indicates the Ubuntu installation is 32-bit, but the machine might not be. To see what processor you have, look at the contents of the file /proc/cpuinfo.

http://www.brandonhutchinson.com/Und...c_cpuinfo.html
 
Old 08-02-2008, 04:47 PM   #11
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The OP was what version is installed, not what processor is installed
 
Old 08-02-2008, 05:04 PM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,895
Blog Entries: 51

Rep: Reputation: Disabled
Quote:
Originally Posted by reine View Post
they don't go: RTFM on LQ,...thats nice!(i'm not ironic btw!) Cheers, Reine.
Some, a minority, do. It relieves their feelings of inadequacy.
 
Old 08-02-2008, 05:31 PM   #13
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by brianL View Post
Some, a minority, do. It relieves their feelings of inadequacy.
Depends on the question a bit - I've seen people referred to the man page for a specific command, then ask a similar question on the same or similar command. That deserves rtfm
 
Old 08-02-2008, 06:25 PM   #14
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Quote:
Originally Posted by billymayday View Post
The OP was what version is installed, not what processor is installed
Ah, my mistake. But still, it couldn't hurt to know about the processor, either
 
Old 08-02-2008, 07:34 PM   #15
cyclepathology
LQ Newbie
 
Registered: Sep 2007
Location: Seattle, WA
Distribution: Red Hat, Ubuntu, PCLinuxOS, Fedora, Vector Linux, CentOS, HP-UX, Solaris, AIX, FreeBSD
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by brianL View Post
Some, a minority, do. It relieves their feelings of inadequacy.
I'd bet that it doesn't.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
32-bit version of every 64-bit package on system? sancho Fedora 11 08-05-2008 08:58 AM
10.3 32 Bit Realtek HD Audio Fixed - but will 64 bit version work 1kyle Suse/Novell 1 06-26-2008 05:36 PM
Can you dist upgrade a 32 bit version of debian to 64 bit? Zaskar Debian 1 03-06-2008 09:50 PM
How does the 64 bit version handle interacting with 32 bit programs? purelithium Mandriva 1 11-13-2005 05:16 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM


All times are GMT -5. The time now is 03:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration