Quote:
Originally Posted by anjanesh
Hi
I want to install Python 2.5.1 on a dedicated server having Fedora Core 2 and Plesk 7.5.4.
1. The box already has Python 2.3. How do I uninstall Python 2.3 ?
2. Does the default installation procedure (configure, make, make install) install at /usr/local/bin/python automatically ?
Thanks
|
1. depends on how you installed it. Did you config/make/make install, or install through RPM or yum or something? If the former, the there's not much you can do. If the latter, you can rpm remove or yum remove. That said, there's not much need to uninstall the old one. It will be overwritten, assuming you install in the same place.
2. It does default to /usr/local, but you can always point it to a new location by running ./configure --prefix=/some/path. Note: you probably don't want to specify a bin path as it will create a bin, lib, var, include, etc in the path you give it (i.e. you'd have .../bin/bin then).
If you update python, be sure to update mod-python as well (if you're using it with apache, that is).
IIRC, there's a "make test" you can do before the make install. On a box as old as yours, I would be sure to do that.