Skip to content

Instantly share code, notes, and snippets.

View koponomarenko's full-sized avatar

Kostiantyn (Kostia) koponomarenko

View GitHub Profile
@koponomarenko
koponomarenko / guide.md
Created March 5, 2018 11:18 — forked from jayktaylor/guide.md
Instructions for installing Python 3.5 using pyenv on Debian Jessie

Installing Python 3.5 on Debian Jessie with pyenv

Debian Jessie does not come with the correct Python version out of the box, and instead comes with Python 2. To be able to install Python 3(.5), we have a few options. We could build and install from source, but as per Debian's website, we shouldn't do this. Instead, we will use pyenv, a tool that allows users to switch Python versions easily without breaking their system.

Installing pyenv

To install pyenv, we will use the official installer.

curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash