LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2007, 10:58 PM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
Upgrading Python


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
 
Old 10-12-2007, 08:30 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by anjanesh View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading python version from 2.3 to 2.4 in fc3 sailu_mvn Linux - Software 1 07-21-2006 12:09 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM
Upgrading python on FC2? Phaethar Fedora 0 08-18-2004 07:30 AM
Python Upgrading mobassir Linux - Software 2 08-06-2004 01:14 AM
Upgrading Python to newer version dopper Linux - Software 3 02-19-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration