Documentation: Python 3.6 with Debian stretch
Closed this issue · 1 comments
COhsrt commented
If you are using Debian Stretch you will need python3.6.
This is packaged for testing already, so you can use testing.
To do so, execute those things as root:
# Add Testing Repository
echo "deb http://ftp.debian.org/debian testing main non-free contrib" > /etc/apt/sources.list.d/testing
# Get your current installed codename
codename=$(lsb_release -c |awk '{print $2}')
# Pin your current installation to $codename
echo "APT::Default-Release \"${codename}\";" > /etc/apt/apt.conf.d/99DefaultRLS
# Update your repository infos
apt-get update
# Install python3.6 from testing
apt-get install python3.6 -t testing
You may want to say yes to all questions asked while installing python3.6
brmmm3 commented
Merged