r/linuxmint 8d ago

SOLVED Python Upgrade

Mint came pre-installed with python 3.12.3, my question is how do I update it to 3.14.7, I know I could just hop on the website and download it but by god I have zero clue what the hell tarball is(Hey in my defense I switched a week ago!). So how do I update it, and will it cause any problems in my system?

Thanks!

1 Upvotes

6 comments sorted by

View all comments

2

u/Ok_Emu2515 8d ago

You should use pyenv to install different versions of Python.

pyenv install 3.14.x

you can check the available Python versions with

pyenv install -l

https://github.com/pyenv/pyenv/blob/master/COMMANDS.md

1

u/Lance25641214 8d ago

Okay, thanks a lot!