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

Christian Heimes lists at cheimes.de
Mon Dec 5 11:39:40 EST 2011


Am 05.12.2011 17:28, schrieb Chris Angelico:
> On Tue, Dec 6, 2011 at 3:23 AM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> Generally speaking, unless you are an expert, you should not use make
>> install when installing Python from source, because it will replace the
>> system Python with the newly installed one.
>>
>> Instead use `sudo make altinstall`
> 
> Mea culpa, forgot that. Yes, use altinstall. Although it's probably
> not a problem to replace 2.6.6 with 2.7.2 - I doubt that'll break many
> things.

Except that all 3rd party extensions and packages are missing if you
install Python manually. Unless you *really* know what you are doing you
shouldn't install Python manually. Debian's backports should provide a
well integrated Python 2.7 package.

Christian




More information about the Python-list mailing list