PDA

View Full Version : [all variants] what architecture for packages? (i386, amd64)



andrewdied
July 27th, 2008, 11:40 PM
I just purchased a serval performance laptop. Do I load i386 or amd64 architecture packages?

andrew@ubuntu:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz

Is there a regular place I check this sort of thing? Thanks for the help.

scragar
July 27th, 2008, 11:44 PM
dpkg --print-architecture
will work, although I'm sure someone will recomend a better way, rather than falling to dpkg for the info.

pauper
July 28th, 2008, 12:43 PM
uname -m

andrewdied
July 28th, 2008, 03:33 PM
Interesting:

andrew@ubuntu:~$ dpkg --print-architecture
amd64
andrew@ubuntu:~$ uname -m
x86_64

If I recall correctly, Intel went and started using the AMD chipset for 64 bit, so this makes some sense. The important thing is I need to use the amd64 packages, and not the i386 ones, if available.

Thanks, all, for the help.

thomasaaron
July 28th, 2008, 05:46 PM
Right. AMD64 is sort of a legacy name for Ubuntu. But it is not restricted to AMD.