33 hours ago
so i'm currently running ubuntu 20.04 on WSL2 (i'm also a newbie in linux) and i use python inside it, and recently i install python 3.9.4, is there's any way to remove python 3.8 and setting 3.9 as default ? i didn't try anything yet since idk much (yet) about linux especially ubuntu
31 hours ago
Making either of those mistakes will break your Ubuntu system quite horribly. Your Ubuntu system makes extensive use of Python3, and is built against the specific version included. DON'T change it.
You CAN install other versions of Python3 in addition to the system default.
If you must use a different version for python3, wrap that application inside a venv to protect your system from the customization.
Also, note that Ubuntu 20.04 was released before Python 3.9 became available. Newer releases of Ubuntu include Py3.9. Ubuntu is not like Windows in many ways -- for newer software, it's generally easier to run a newer release of Ubuntu rather than try to bolt new software onto an older release.