Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #16662
| 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 | 2011-12-06 02:51 +1100 |
| Subject | Re: How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3304.1323100284.27778.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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