I need newer Python so I downloaded .tar.gz from the site, unpacked, run ./configure; make; make altinstall. I had then separate Python 2.7 and default 2.5 and all worked fine.
But recently I needed to recompile Python with new libraries and instead of make altinstall I run make install. That replaced CentOS Python 2.5 with 2.7. I made symbolic link from /usr/bin/python to /usr/bin/python2.5 but when I run python then Python 2.7 is started.
I wonder if what I done is bad for my system or I could live with it. Do I need to revert 2.5 as default? yum seems working fine.
which pythonto see what is actually run if you typepython. – Rob Wouters Jan 22 at 15:06/usr/local/bin/pythonand it's 2.7. – demalexx Jan 23 at 0:54