Installieren Sie Python 3.9 unter Ubuntu 20.04
LOG
# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
# apt update; apt install -y python3.9
...Abkürzung
# ll /usr/bin/python*
-rwxr-xr-x. 1 root root 5808064 Sep 3 19:31 /usr/bin/python3.9*
# python3.9 -V
Python 3.9.0rc1
# apt show python3.9
Package: python3.9
Version: 3.9.0~rc1-1~20.04
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Matthias Klose <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 542 kB
Depends: python3.9-minimal (= 3.9.0~rc1-1~20.04), libpython3.9-stdlib (= 3.9.0~rc1-1~20.04), mime-support
Suggests: python3.9-venv, python3.9-doc, binutils
Breaks: python3-all (<< 3.6.5~rc1-1), python3-dev (<< 3.6.5~rc1-1), python3-venv (<< 3.6.5-2)
Download-Size: 406 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
Description: Interactive high-level object-oriented language (version 3.9)
Dies ist möglicherweise nicht Standard, da in Python 3.8 kein "(Standardversion von Python3)" angezeigt wird. Wenn RC genommen wird, kann es zum Standard werden. Nicht untersucht
Recommended Posts