Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'ubuntu': 0.04; 'think,': 0.05; 'subject:Python': 0.05; 'installed.': 0.07; 'python': 0.08; 'interpreter.': 0.09; 'invokes': 0.09; 'subject:GNU': 0.09; 'am,': 0.12; '2.7': 0.13; 'received:209.85.210.174': 0.13; 'received :mail-iy0-f174.google.com': 0.13; 'typing': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gotcha.': 0.16; 'installed,': 0.16; 'mercurial.': 0.16; 'subject:install': 0.16; 'sudo': 0.16; 'wrote:': 0.18; "aren't": 0.21; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'least,': 0.23; 'extract': 0.24; 'code': 0.25; 'message-id:@mail.gmail.com': 0.28; 'version.': 0.29; 'usual': 0.29; 'environment': 0.30; 'subject:skip:2 10': 0.30; 'source': 0.31; 'version': 0.32; 'tue,': 0.32; 'actually': 0.33; 'to:addr:python-list': 0.34; 'too': 0.34; 'subject:/': 0.35; 'skip:" 20': 0.35; 'subject:How': 0.35; 'install': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'stable': 0.38; 'received:209.85': 0.38; 'first.': 0.39; 'should': 0.39; 'subject: (': 0.40; "it's": 0.40; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'straight': 0.63; 'believe': 0.65; 'exact': 0.68; './configure': 0.84; 'apt-get': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ULvoCcFLzb6E4LHXAIfieQWgAk9WNEWTOOm7BnMI9w4=; b=QWh91qaW0cLMaNObNRaV+te/8M+VYCpIuqmQ5F4CHnTDxAOGcEuE6DeEzoj5Bpj0N4 qWZoD2ZcLV64HFLqW7TBoyPRX7kB2jqjodw/zpFVdBw+MW66Tdub1jhw7zs4nmg4VlpC MwIFt1pTSADg9zvwfIu7Op/5sk87iEG8/CnJw= MIME-Version: 1.0 In-Reply-To: <0da3ce5f-72ca-43a2-a2ae-18fd1dd2c46d@e2g2000vbb.googlegroups.com> References: <0da3ce5f-72ca-43a2-a2ae-18fd1dd2c46d@e2g2000vbb.googlegroups.com> Date: Tue, 6 Dec 2011 02:51:21 +1100 Subject: Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323100284 news.xs4all.nl 6944 [2001:888:2000:d::a6]:49236 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16662 On Tue, Dec 6, 2011 at 2:40 AM, patrickwayodi wrote: >> You should actually already have Python installed. Try typing 'python' >> at a terminal and see if it invokes the interactive interpreter. >> >> ChrisA > > > Yes, I have Python installed, but it's an old version. So I want to > upgrade to "Python-2.7.2.tar.bz2". Ah gotcha. I believe you can 'sudo apt-get install python2.7' - at least, you can on the Ubuntu system next to me. Not sure though; I build my Python from source straight from Mercurial. What you have there, I think, is a source code snapshot. You'd need to extract it and then do the usual incantation: $ ./configure $ make $ sudo make install If you don't have the compiler/build environment set up, you'll have to do that first. If you aren't too concerned about the exact version you get, the above apt-get line should get you a stable Python in the 2.7 branch. ChrisA