Install Python 3.9 on Ubuntu 20.04 (OS standard?)

Introduction

Install Python 3.9 on Ubuntu 20.04

LOG

Installation

# 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
...Abbreviation

Various confirmations

# 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)

It may not be standard because there is no (default python3 version) displayed in python 3.8. If RC is taken, it may become the standard. Not investigated

Recommended Posts

Install Python 3.8 on Ubuntu 18.04 (OS standard)
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
Install Python 3.3 on Ubuntu 12.04
Install OpenCV on Ubuntu + python
Install confluent-kafka for Python on Ubuntu
Steps to install Python environment on Ubuntu
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install TensorFlow on Ubuntu
Install python on WSL
Install Python on Pidora.
Install Scrapy on python3
Install Python on Mac
Install PySide2 on Ubuntu
Install JModelica on Ubuntu
Install python on windows
Install Python 2.7.3 on CentOS 5.4
build Python on Ubuntu
Install Python 3.4 on Mac
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
Install Python 3.6 on Docker
Install python package in personal environment on Ubuntu
[Procedure memo] Install Python3 + OpenSSL locally on Ubuntu
Install MongoDB on Ubuntu 16.04 and operate via python
Set up Python 3.4 on Ubuntu
Install Python 3.8 on RHEL 8 (AppStream)
Use matplotlib on Ubuntu 12 & Python
Install watchdog on Windows + Python 3.3
Install pygame on python3.4 on mac
Install tomcat 9 on Cent OS 8
Put Python 3.x on Ubuntu
Install pandas 0.14 on python3.4 [on Mac]
Install GoLand IDE on Ubuntu
wsl Install PostgreSQL on Ubuntu 18.04
Python --Install MySQLDB on EC2
Install Caffe on Ubuntu 14.04 (GPU)
Install Python 3.8 on CentOS 8 (AppStream)
Install Docker on WSL Ubuntu 18.04
[Python] [Chainer] [Windows] Install Chainer on Windows
Install Bash on Ubuntu on Windows, Ruby, Python, Jupyter, etc.
Install CUDA10.1 + cuDNN7.6.5 + tensorflow-2.3.0 on Ubuntu 18.04
Install Python Pillow on Amazon Linux
Python 3.4 pyvenv fails on Ubuntu 14.04 LTS
Install Caffe on Ubuntu 14.04 (CPU mode)
Install Python3 on Sakura server (FreeBSD)
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install Adopt OpenJDK 11 on Cent OS 8
Install OpenCV and Chainer on Ubuntu
install python
Building a Python environment on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Preparing python using vscode on ubuntu
Install Pytorch on Blender 2.90 python on Windows
Install Python 3.7 Anaconda on MAC, but Python 2
Install Scipy on Mac OS Sierra
Install python3 and scientific calculation library on Ubuntu (virtualenv + pip)