LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing a newer version of python (http://www.linuxquestions.org/questions/linux-software-2/installing-a-newer-version-of-python-516166/)

arnon 01-04-2007 03:55 AM

installing a newer version of python
 
can any one explain to me how to install the newer version
of python.
i'm following the instructions in their site :
python setup.py install

but this doesn't work
thanx

reddazz 01-04-2007 04:05 AM

Usually you need to do ./configure, make and make install. If you have a version of python shipped by your distro, then I suggest using a different prefix for your own installation so that it doesn't break modules and other stuff provided by your distros version of python.

arnon 01-04-2007 06:12 AM

could you be more specific about the different prefix you mentioned.
what should i specify doing the procedure with "make" you mentioned so that it will have a different prefix

thanx

reddazz 01-04-2007 01:17 PM

To use a different prefix, you could do something like
Code:

$./configure prefix=/usr/local/python25
The configure part is the one that you tell which directory you want python to be installed in.


All times are GMT -5. The time now is 11:29 PM.