11
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu 18.04 に Python 3.8 をインストール(OS標準)

Posted at

はじめに

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)
11
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?