wget -c Īfter that, extract the source tarball either via file manager or using command ( change release number 3.10.11 accordingly): tar -Jxvf Python-3.10.11.tar.xzĪfter downloading and extracting the source tarball, navigate to the generated source folder via cd command ( also replace 3.10.11 to yours version number): cd Python-3.10.11Īnd configure with expensive, stable optimizations (PGO, etc.). ![]() But newer versions may be out when you see this tutorial! So, go check this download page and replace 3.10.11 in command with the latest or your desired version number!įor Python 3.11, use the command below instead to download the tarball (also replace point version number accordingly). NOTE: Python 3.10 is keep updating with point releases! At the moment of writing, the latest is 3.10.11. Then download the source tarball either by running the wget command: wget -c Next install essential packages for downloading the source and building the program: sudo apt install wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev In terminal or command console, first update system package by running command: sudo apt update ![]() Next run following commands one by one to build Python 3.10 either in Debian 11 Desktop and/or Server. Build Python 3.10 in Debian 11:įirstly, open terminal from start menu or connect to Debian Server command console. Though, you have to change the version number in the following commands. UPDATE: This tutorial is also tested and works with Python 3.11. However, compiling Python from source is easy and here’s how! Unlike Fedora and Ubuntu, there’s neither official package nor PPA repository that contains Python 3.10 package for Debian users. And it has 18-month support with bug-fix updates, and 5-year support with security updates. It features pattern matching, writing union types as X | Y, OpenSSL 1.1.1, and more. ![]() Python 3.10 is the latest LTS version of the interpreted high-level general-purpose programming language released a few days ago. This tutorial shows how to install and setup the Python programming language 3.10 in Debian 11 bullseye.
0 Comments
Leave a Reply. |