H
H
Him4enko2021-11-03 19:59:58
ubuntu
Him4enko, 2021-11-03 19:59:58

How to install Python 3.10 by default on Linux?

How to install Python3.10 by default, now the system has Python3.8.10 by default?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2021-11-04
@Him4enko

Install using the asdf version control utility .
Just do not install globally, otherwise different components of the OS will break.
It's better to install locally to, say, the directory of all your Python projects.
Added
Beforehand, you need to add the python plugin to asdf.

A
Andy_U, 2021-11-03
@Andy_U

In the most unfavorable case - to collect from source codes. On Ubuntu 20.4 sudo apt install python3.10 (after some preliminary steps). But there is still so much garbage crawling together that then only work in a virtual environment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question