Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i've got macbook pro and wonder if i should use 64 or 32 bits ubuntu server?

and then i've got a vps not hosted by med. how do i know what version to choose?

how do you check how many bits your cpu i working with?

can i use 64 on 32 and vice versa?

share|improve this question

migrated from stackoverflow.com Apr 7 '10 at 17:24

This question came from our site for professional and enthusiast programmers.

    
This should be on superuser, as it's not a programming question, but your MBP probably has a Intel Core 2 Duo processor, which is 64 bits. You can install either the 64 or 32 bit version. –  Justin Apr 7 '10 at 17:15
    
are all new cpus 64 from Apple? how do i check? cause i want to be sure. and have to be sure for this VPS too. –  ajsie Apr 7 '10 at 17:17
    
SO isn't the right place for this sort of question. It belongs more on Superuser superuser.com –  Slokun Apr 7 '10 at 17:20
    
my mistake. i've voted for this to close:) –  ajsie Apr 7 '10 at 17:22
    
@echo - don't add [belongs-on-superuser] as a tag. A comment will suffice. –  ChrisF Apr 7 '10 at 17:24
add comment

5 Answers 5

up vote 3 down vote accepted

If you have a new macbook or any other that has "Intel Core 2 Duo" processor, your macbook has 64 bits processor.(See "System Profiler" > Hardware > Processor Name)

You can install any 32 bits OS(also Ubuntu 64) on any 64 bits Macbook's processor(not shore about others).

You CAN'T install any 64 bits OS on any 32 bits processor.

share|improve this answer
add comment

If your mac is core2 Duo Based, you have a 64 bit processor. (to find out Apple Menu->About this mac-> Processor info) So, you could use a 64 bit Ubuntu.

You can't use a 64 bit OS on a 32 bit architecture. But the reverse would work. 32 Bit OS on a 64 bit architecture.

share|improve this answer
    
but how can u check this on a remote vps using just ssh? its running ubuntu but i have to know if its 64 or 32 bits cpu. –  ajsie Apr 7 '10 at 17:21
add comment

If you need to know the version of the macbook, type in command line, in Ubuntu: less /proc/cpuinfo

see more details here

share|improve this answer
    
ubuntu gave me: clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual. so is this 64 bits? –  ajsie Apr 7 '10 at 17:36
add comment

I understand that on a VPS, you're likely better off with a 32 bit OS as 64 bits have memory implications. Commonly, one will get a VPS with less memory to save money and hence you want a smaller memory foot print.

The problem is that this particular architecture (x86_64) uses more memory than plain old x86. Significantly more.

The other answers about your MacBook Pro and 64 bits are right. I have nothing to contribute to them.

The additional question I have is are you trying to replace Mac OS X or are you wanting to Run Ubuntu in a virtual environment? If this is the case, you needn't worry so much about 32 vs. 64 bits unless you are trying to do something specific.

If you need to pick one, I'd likely pick the 64 bit for a virtual environment but for such usages, I doubt it'd ultimately matter to me.

share|improve this answer
add comment

A good threshold for 32/64 is 2GB. Not because of any "memory visibility" issues, but because of the larger pointer size.

You can tell if a CPU supports X86-64/AMD64 by looking for the lm (Long Mode) flag in /proc/cpuinfo under Linux.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.