はじめに
Ubuntu 18.04にPython 3.8をインストール
(最近できるようになったと思われる)
changelogs.ubuntu.com/changelogs/pool/universe/p/python3.8/python3.8_3.8.0-3~18.04/changelog
LOG
インストール
# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.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=bionic
UBUNTU_CODENAME=bionic
# apt update; apt install -y python3.8
... 略
各種確認
# which python3.8
/usr/bin/python3.8
# ll /usr/bin/python*
-rwxr-xr-x. 1 root root 5203488 Oct 28 16:14 /usr/bin/python3.8*
# python3.8 -V
Python 3.8.0
# apt show python3.8
Package: python3.8
Version: 3.8.0-3~18.04
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Matthias Klose <doko@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 488 kB
Depends: python3.8-minimal (= 3.8.0-3~18.04), libpython3.8-stdlib (= 3.8.0-3~18.04), mime-support
Suggests: python3.8-venv, python3.8-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: 355 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
Description: Interactive high-level object-oriented language (version 3.8)