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.

link|improve this question
Try which python to see what is actually run if you type python. – Rob Wouters Jan 22 at 15:06
@RobWouters It's /usr/local/bin/python and it's 2.7. – demalexx Jan 23 at 0:54
feedback

1 Answer

up vote 1 down vote accepted

For your statement:

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.

This should not affect you system. The only effect is that you may have is the confusion when using python. For the system and package manager (yum), this should not be an issue.

link|improve this answer
Sounds good, thank you :) – demalexx Jan 23 at 0:55
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.