0

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.

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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