My programming ramblings

Building Python 3.7 from source on Ubuntu and Debian Linux

Posted on June 30, 2017 by Paul

Updated 27 Nov 2018

This is a short article about building Python 3.7 from source on Ubuntu 18.04 or Debian 9 Linux. At the time of this writing Ubuntu LTS default is Python 3.6 and Debian stable default is Python 3.5. Python 3.7 comes with many more improvements vs the old 3.5 or 3.6 versions. You can read more about what’s new in Python 3.7 here. The procedure described in this tutorial also works with Windows Subsystem for Linux, WSL, aka Bash on Ubuntu on Windows.

As a side note, you should be able to use the same procedure on other Debian based systems, like Raspbian on Raspberry Pi, just replace apt with apt-get and you are good to go.

Disclaimer:All data and information provided on this site is for informational purposes only. solarianprogrammer.com makes no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis. solarianprogrammer.com does not collect any personal information about its visitors except that which they provide voluntarily when leaving comments. This information will never be disclosed to any third party for any purpose. Some of the links contained within this site have my referral id, which provides me with a small commission for each sale. Thank you for understanding.