[Tutor] How can I overwrite the previous version on linux ?

Kushal Kumaran kushal.kumaran+python at gmail.com
Wed Dec 19 09:03:19 CET 2012


Dae James <daedae11 at 126.com> writes:

> My linux distribution is CentOs 6.3. And python attached to the OS is 2.6. 
> How can I overwrite the previous version with python 2.7 ? Or how can I uninstall the previous version?
>

This is not recommended.  The python version supplied with your OS might
be used by a number of programs and utilities that are shipped with the
OS.  If you want to run a different version of python, install it in
addition to the version already there.  You can build from source,
following the instructions here:
http://docs.python.org/2/using/unix.html#building-python

-- 
regards,
kushal


More information about the Tutor mailing list