D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] python versions

 

On Tue, 2010-07-27 at 16:50 +0100, Neil Winchurst wrote:
> I have both python v2 and python v3 installed. When I just type in 
> 'python' into a terminal screen I get v2. I need to enter 'python3' to 
> get the newer version. I seem to remember that there is a way to make 
> the 'python' instruction find the newer version automatically.
> 
> Is my memory failing me or can anyone remind me how it is done please?
> 

Its not going to be so simple as to just rename /usr/bin/python to
python2 is it, and rename python3 to python ?

I don't have both installed here to try.

-- 
John Williams
My linux blog of notes and guides
http://subbass.blogspot.com/


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq