LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2007, 03:55 AM   #1
arnon
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Rep: Reputation: 0
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
 
Old 01-04-2007, 04:05 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 01-04-2007, 06:12 AM   #3
arnon
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
Old 01-04-2007, 01:17 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Newer Version raffytaffy SUSE / openSUSE 3 04-22-2006 02:57 PM
Need help in installing new python version.... Robert135 Linux - Software 1 12-30-2004 12:50 AM
Installing newer version of php (apt-get) waffe Debian 11 06-09-2004 05:17 PM
installing newer version of programs ziggie216 Linux - Software 2 04-14-2004 03:34 PM
Upgrading Python to newer version dopper Linux - Software 3 02-19-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 PM.

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