Quick Answer: How to Update Python on Linux?
Contents

You can install Python 3.6 along with them via a third-party PPA by doing following steps:

  • Open terminal via Ctrl+Alt+T or searching for “Terminal” from app launcher.
  • Then check updates and install Python 3.6 via commands: sudo apt-get update sudo apt-get install python3.6.

How do I update Python 3?

Steps to install python3.7 and configure it as the default python3 interpreter.

  1. Install the python3.7 package using apt-get. sudo apt-get install python3.7.
  2. Add python3.6 & python3.7 to update-alternatives.
  3. Update python3 to point to python3.7.
  4. Test the version of python.

How do I install Python on Linux?

Using the standard Linux installation

  • Navigate to the Python download site with your browser.
  • Click the appropriate link for your version of Linux:
  • When asked whether you want to open or save the file, choose Save.
  • Double-click the downloaded file.
  • Double-click the Python 3.3.4 folder.
  • Open a copy of Terminal.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest