CentOS: revert python version back to original
2013-08
I installed python 2.6 using the instructions here on CentOS 5.4. However I realized it was a bad move and I need to revert back to 2.4, which was there originally. Can anyone guide me on how to undo what I did here? In particular, I am not sure how to undo this:
Configure ld to find your shared libs:
$ cat >> /etc/ld.so.conf.d/opt-python2.5.conf /opt/python2.5/lib (hit enter) (hit ctrl-d to return to shell) $ ldconfig
I tried removing the alias and the symlink and even re-aliasing python to /usr/bin/python, but when I try to install an RPM i get this error:
error: Failed dependencies: libpython2.4.so.1.0 is needed by ...
Thanks in advance.
Download the Python packages from here and force an install as follows:
rpm -Uvh --force python-*.i386.rpm
And for pete's sake, next time build from source and use make altinstall
.
Has anybody built a JRuby RPM for Centos 5.3? I know that JRuby can be just 'dropped in' and it will work on Centos 5.3, but I would like an RPM because it can be distributed, installed etc. easily using existing rpm mechanisms.
So, has anybody attempted this? Please share!
http://blog.frameos.org/2010/10/15/installing-jruby-and-trinidad-in-framoscentos/
Yum install jruby instead of Trinidad.