mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #1031 from cclauss/patch-2
Setup Python 3.8 on Ubuntu
This commit is contained in:
@@ -7,7 +7,7 @@ Installing Python 3 on Linux
|
|||||||
|
|
||||||
.. image:: /_static/photos/34435689480_2e6f358510_k_d.jpg
|
.. image:: /_static/photos/34435689480_2e6f358510_k_d.jpg
|
||||||
|
|
||||||
This document describes how to install Python 3.6 on Ubuntu Linux machines.
|
This document describes how to install Python 3.6 or 3.8 on Ubuntu Linux machines.
|
||||||
|
|
||||||
To see which version of Python 3 you have installed, open a command prompt and run
|
To see which version of Python 3 you have installed, open a command prompt and run
|
||||||
|
|
||||||
@@ -20,12 +20,12 @@ If you are using Ubuntu 16.10 or newer, then you can easily install Python 3.6 w
|
|||||||
$ sudo apt-get update
|
$ sudo apt-get update
|
||||||
$ sudo apt-get install python3.6
|
$ sudo apt-get install python3.6
|
||||||
|
|
||||||
If you're using another version of Ubuntu (e.g. the latest LTS release), we recommend using the `deadsnakes PPA <https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa>`_ to install Python 3.6::
|
If you're using another version of Ubuntu (e.g. the latest LTS release) or you want to use a more current Python, we recommend using the `deadsnakes PPA <https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa>`_ to install Python 3.8::
|
||||||
|
|
||||||
$ sudo apt-get install software-properties-common
|
$ sudo apt-get install software-properties-common
|
||||||
$ sudo add-apt-repository ppa:deadsnakes/ppa
|
$ sudo add-apt-repository ppa:deadsnakes/ppa
|
||||||
$ sudo apt-get update
|
$ sudo apt-get update
|
||||||
$ sudo apt-get install python3.6
|
$ sudo apt-get install python3.8
|
||||||
|
|
||||||
If you are using other Linux distribution, chances are you already have Python 3
|
If you are using other Linux distribution, chances are you already have Python 3
|
||||||
pre-installed as well. If not, use your distribution's package manager.
|
pre-installed as well. If not, use your distribution's package manager.
|
||||||
|
|||||||
Reference in New Issue
Block a user