How do I make the terminal run python 3.1?
I am using Ubuntu 10.10 and just installed Python 3.1 but entering python on my Gnome Terminal gets me Python 2.6 . How to fix it to get Python 3.1 on typing python on the terminal ?
I can't sanction Dayjay's answer at all. Replacing Python system-wide could make applications hugely unstable and in a lot of cases, they'll just break.
The safest thing to do is just call the 3.x binary when you want to use Python 3.x.
You could simply change the symlink: