Install Python on Ubuntu 18.04 LTS

How to install Python (Python2 or Python3) on Ubuntu 18.04 LTS release.

1) How to install Python and get started (using apt)
2) Differences between Python 2 and Python 3 (print, integer division, unicode, etc)
3) Install and use PIP modules to get more functionality

Also check out a written article explaining how to install python3:

Install Python3 and IDLE on Ubuntu 18.04

36 thoughts on “Install Python on Ubuntu 18.04 LTS

  1. Thank you. I was going through several blogs running so many commands without understanding what I am doing. Your video explained certain basics which were very helpful for me as a beginner.
    Point is python comes pre-installed with Linux, that's one.
    You asked to install pip for python, it could've been helpful if you had explained what pip is and why is it important, same in the case of "bar" and matplotlib.
    Thank you.

  2. This is pure stupid. Python comes preinstalled with ubuntu. And python3 command does not turn terminal into an IDE. Do you have any idea what is called ide?

Leave a Reply

Your email address will not be published. Required fields are marked *