Put the latest version of Python on linux (Debian) on Chromebook

Debian version is below

aaaa@penguin:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.12 (stretch)
Release:        9.12
Codename:       stretch

Python 3.5 is included by default.

aaaa@penguin:~$ python3 -V
Python 3.5.3

I also wanted to use the latest version of Python, so I introduced it by following the steps below.

At the moment (2020/03), 3.8.2 is the latest https://www.python.org/downloads/release/python-382/ Drop the source from the above page and build (Wget the link for Files> Gzipped source tarball)

aaaa@penguin:~$ cd /usr/local/src
aaaa@penguin:~$ wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
aaaa@penguin:~$ sudo tar zxvf Python-3.8.2.tgz


aaaa@penguin:~$ cd  Python-3.8.2
aaaa@penguin:~$ ./configure
aaaa@penguin:~$ make
aaaa@penguin:~$ make altinstall

Has entered

aaaapenguin:~$ python3.8 -V
Python 3.8.2
aaaa@penguin:~$ pip3 -V
pip 20.0.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)

Recommended Posts

Put the latest version of Python on linux (Debian) on Chromebook
Install the latest version of Git on your Linux server
Use the latest version of PyCharm on Ubuntu
Install the latest version of CMake on Ubuntu 18.04.4 LTS
pyenv-change the python version of virtualenv
Change the Python version of Homebrew
Suspend Thread on Linux (corrected version at the bottom of the article)
How to update the python version of Cloud Shell on GCP
About the virtual environment of python version 3.7
[Python] Try pydash of the Python version of lodash
Install the latest version of Apache httpd 2.4 from source on Cent OS 8
The story of running the asp.net core 3.1 app on arm64 version Amazon Linux 2
Try the python version of emacs-org parser orgparse
Install Anydesk Linux version on Chromebook [Result NG]
[2020July] Check the UDID of the iPad on Linux
A note about the python version of python virtualenv
Try the free version of Progate [Python I]
Get the latest Linux kernel version with Arch Linux
Put Python3 in Docker container of Amazon Linux2
At the time of python update on ubuntu
the zen of Python
Open Chrome version of LINE from the command line [Linux]
Steps to install the latest Python on your Mac
Let's use the Python version of the Confluence API module.
About the --enable-shared option when building Python on Linux
The latest version of Pillow 7.0.0 will kill the pytorch transform.
Check the type and version of your Linux distribution
Announcing the availability of Java 11 LTS on Amazon Linux 2
[Note] The story of setting up the SDK for Python of Azure IoT Hub on Linux
Align the version of chromedriver_binary
Notes on the version of CUDA, cuDNN where tensorflow-gpu worked
2020/02 Python 3.7 + TensorFlow 2.1 + Keras 2.3.1 + YOLOv3 Object detection with the latest version
Towards the retirement of Python2
Let's automatically display the lyrics of the song being played on iTunes in Python (improved version)
The story of how the Python bottle worked on Sakura Internet
Get only the Python version (such as 2.7.5) on the CentOS 7 shell
About the ease of Python
Install the JDK on Linux
Put Python 3.x on Ubuntu
Update monitoring of dmesg (/ dev / kmsg) from python on Linux
Version upgrade of python Anaconda
Handling of python on mac
Steps to install the latest version of OpenCV on OS X El Capitan without Homebrew
Put jenv on Amazon Linux
[Python] Calculate the angle consisting of three points on the coordinates
Check OpenSSL version of python 2.6
Linux on Windows -1-: debian introduction
What is the default TLS version of the python requests module?
Paste the link on linux
About the features of Python
[Personal memo] Install the latest Java on Amazon Linux that already contains Java and switch the version
Commands and files to check the version of CentOS Linux
[2020/06 latest version] Basic usage of python dependency management tool poetry
The Power of Pandas: Python
Get the host name of the host PC with Docker on Linux
The story that the version of python 3.7.7 was not adapted to Heroku
[Latest version] Let the bot speak at regular intervals on discord.py
[Python] I wrote the route of the typhoon on the map using folium
Let's measure the test coverage of pushed python code on GitHub.
On Linux, the time stamp of a file is a little past.
[Python] LINE notification of the latest information using Twitter automatic search