[CentOS] how to update python 2.7.5 to python 2.7.15 on centos 7.4
pete at biggs.org.uk
Wed Aug 1 08:14:28 UTC 2018
> How to update python 2.7.5 to python 2.7.15 on centos 7.4?
It is unwise and probably almost impossible to update the system
version of python - so much depends on it and being python, it depends
on that specific version. (If you try and do 'yum erase python' it
won't do it because yum itself relies on that python version.)
You have two options really. Install another version of python
somewhere else - but DO NOT make it the default version - or you can
use Software Collections. The latter is really the correct and
supported way of doing it - see
There is a python 2.7.13 in there
if that is sufficient for you.
More information about the CentOS