Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jul 03, 2012 12:33 pm 
Offline
Junior Member

Joined: Sun May 13, 2012 10:02 am
Posts: 20
I want to install Python 2.7 on my Debian Squeeze server in a virtualenv. Since squeeze doesnt come with 2.7 I need to install it manually. Doing this is quite involved, and even though I have managed, the script is a bit ugly.

Is it a good idea to do this:

Code:
> # /etc/apt/sources.list
deb http://ftp.uk.debian.org/debian/ unstable main contrib non-free
deb http://ftp.uk.debian.org/debian/ experimental main contrib non-free
deb http://security.debian.org/ testing/updates main contrib

aptitude update
aptitude install python2.7


Then set the debian default to 2.6 as it was before, and then point to the 2.7 install for my virtualenv.

Any thoughts on this would be much appreciated, to me it seems elegant, but it may not be.

James


Top
   
PostPosted: Tue Jul 03, 2012 1:32 pm 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
I think the question is why do you need Python 2.7?

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Wed Jul 04, 2012 2:49 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:45 pm
Posts: 63
Spadez wrote:
Is it a good idea to do this:

Code:
> # /etc/apt/sources.list
deb http://ftp.uk.debian.org/debian/ unstable main contrib non-free
deb http://ftp.uk.debian.org/debian/ experimental main contrib non-free
deb http://security.debian.org/ testing/updates main contrib

aptitude update
aptitude install python2.7


No. Download the source and compile manually, if you need python2.7.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group