Python 3.8 or later on Debian?

Mats Wichmann mats at wichmann.us
Thu Sep 19 13:09:53 EDT 2024


On 9/18/24 08:49, Ulrich Goebel via Python-list wrote:
> Hi,
> 
> Debian Linux seems to love Python 3.7 - that is shown by apt-get list, and it's installed on my Debian Server.
> 
> But I need at least Python 3.8
> 
> Is there a repository which I can give to apt to get Python 3.8 or later?
> 
> Or do I really have to install and compile these versions manually? I'm not a friend of things so deep in the system...
Not going to pile on and tell you you must upgrade...

You can use a tool like pyenv to build Python IF another answer doesn't 
present itself - it how to build just about any version (not just 
cpython, but pypy, anaconda and more). The Real Python folks have 
written a fairly complete description (plus of course there's the 
project's own documentation):

https://realpython.com/intro-to-pyenv/




More information about the Python-list mailing list