Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16662

Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2)

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 <rosuav@gmail.com>
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 <b43f5db6-050e-49d8-ac03-7b9ef1071406@u5g2000vbd.googlegroups.com> <mailman.3302.1323097739.27778.python-list@python.org> <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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3304.1323100284.27778.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Dec 6, 2011 at 2:40 AM, patrickwayodi <patrickwayodi@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) patrickwayodi <patrickwayodi@gmail.com> - 2011-12-05 06:53 -0800
  Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Chris Angelico <rosuav@gmail.com> - 2011-12-06 02:08 +1100
    Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) patrickwayodi <patrickwayodi@gmail.com> - 2011-12-05 07:40 -0800
      Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Chris Angelico <rosuav@gmail.com> - 2011-12-06 02:51 +1100
        Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-12-05 16:23 +0000
          Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Chris Angelico <rosuav@gmail.com> - 2011-12-06 03:28 +1100
          Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Christian Heimes <lists@cheimes.de> - 2011-12-05 17:37 +0100
          Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Christian Heimes <lists@cheimes.de> - 2011-12-05 17:39 +0100
            Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) Anssi Saari <as@sci.fi> - 2011-12-14 20:40 +0200

csiph-web