# Ubuntu 16.04: install Python 3.6

**URL:** <https://deeptalk.lambda.ai/t/ubuntu-16-04-install-python-3-6/368>\
**Category:** Technical Help\
**Created:** [July 5, 2018, 10:58pm UTC](https://deeptalk.lambda.ai/t/ubuntu-16-04-install-python-3-6/368 "2018-07-05T22:58:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mpb](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mpb](https://deeptalk.lambda.ai/u/mpb)\
**Post date:** [July 5, 2018, 10:58pm UTC](https://deeptalk.lambda.ai/t/ubuntu-16-04-install-python-3-6/368/1 "2018-07-05T22:58:27Z")

</div>

If you’re using Ubuntu 16.04 (a.k.a. Xenial), install Python 3.6 as follows:

```
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

```

To verify you’re running Ubuntu 16.04, ensure you get the following output:

```
$ lsb_release -a
Release: 16.04

```

If output of above command is “Release: 18.04”, Python 3.6 should already be installed, since Ubuntu 18.04 ships with it by default.

---

_[View the full topic](https://deeptalk.lambda.ai/t/ubuntu-16-04-install-python-3-6/368)._
