LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack 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
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Newer Version raffytaffy Suse/Novell 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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration