How Do I Install Multiple Versions of Python on Linux?
Contents

How do I install multiple versions of Python in Ubuntu?

How to install different versions of python?

  1. python 2.7: Run the following command: sudo apt install python-minimal. …
  2. python 3.5: Run the following command: sudo apt install python3. …
  3. python 3.6: Run the following commands: sudo add-apt-repository ppa:deadsnakes/ppa. …
  4. python 3.7: …
  5. python 3.8:

How do I install multiple versions of Python?

Installing Multiple Versions

  1. Go to the Python download page.
  2. Download the 3.4. 1 installer package.
  3. Install it and accept the defaults. (This is important. …
  4. Download the 2.7. 7 installer package.
  5. Install it and, this time, do NOT accept the defaults. Specifically, remove the “Register Extensions” option from installing.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest