[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Current versions of Python on Debian Stable



[ode, 2012-05-31]
> I would like to run Python 2.7 and 3.2 on Debian stable. They are not
> in squeeze-backports. I would rather not install them from Unstable
> as I do not want a mixed system. Do I have to compile them myself or
> do you know of another trusted source that has backported them to
> Squeeze.

I don't think it will be backported, because the one from testing works
fine on stable:

#v+
[ -f /etc/apt/sources.list.d/testing.list ] || \
echo 'deb http://ftp.debian.org/debian testing main' > /etc/apt/sources.list.d/testing.list

[ -f /etc/apt/preferences.d/testing ] || cat > /etc/apt/preferences.d/testing << EOF
Package: *
Pin: release a=testing
Pin-Priority: 450
EOF
apt-get update
apt-get install python3.2 python3.1-
apt-get install python2.7 -t testing
#v-

if you want your system to know that 2.7 is supported (f.e. if you want to rebuild packages
over there with Python 2.6 and Python 2.7 support, but without Python 2.5) run this:
# apt-get install python-all -t testing
you will still need to rebuild packages to have full Python 2.7 support (except
the ones with pure Python modules that use python-support or python-central)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: