Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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
add comment

1 Answer 1

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.

share|improve this answer
    
Sounds good, thank you :) –  demalexx Jan 23 '12 at 0:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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