← All posts

Installing Python 3.7.7 on Debian 9

A very short note on how to install Python 3.7.7 on Debian 9 (stretch):

apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libcrypto++-dev libssl-dev libreadline-dev libffi-dev curl libbz2-dev libsqlite3-dev libffi-dev
curl -O https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tar.xz
tar -xf Python-3.7.7.tar.xz
cd Python-3.7.7
./configure --enable-loadable-sqlite-extensions --enable-optimizations
make
make install
python3.7 --version

Based on this article

Comments are closed. Read the original discussion in Russian →