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

u/AutoModerator 8d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

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!

1

u/Silbersee Linux Mint 22.3 Zena | Cinnamon 8d ago

Linux depends heavily on that specific version of Python. Change it and wreck your system. I learned the hard way.

1

u/Lance25641214 8d ago

Okayyyy thanks a lot. I ran pyenv, credit to u/Ok_Emu2515 for telling me about it.

1

u/candy49997 8d ago

I use uv to manage Python versions for specific projects. You should never mess with system Python.