How to Install Python on Ubuntu
Ubuntu is a Linux based operating system used by some small and large companies around the world. Unlike other operating systems, it’s free to download and use.
Thank you for reading this post, don't forget to subscribe!
Since I have been learning and using Python for the past few weeks, some people have asked if they could install and use Python on other operating systems other than Mac and Windows. After doing some research, the answer is YES. This article will show you how to install and use Python on Ubuntu.
In order to do this, you must find and be comfortable with using the Terminal Command Line. If this is scaring you, don’t worry, I’ll walk you through the steps.
How to INSTALL Python on Ubuntu:
- Find the Terminal icon and then double click it.
- A window will open up.
- Type in: sudo apt install software-properties-common.
- Type in: sudo add-apt-repository ppa:deadsnakes/ppa to download a file from the repository.
- Type in: sudo apt install python[version-name]
- That’s it.
How to RUN Python on Ubuntu:
- Open a Terminal Window.
- Type: python
- This will open the Python interactive window.
- That’s it.
If this is the first time you’re using Python, then check out these books from Amazon.com.
If this is the first time you’re using Ubuntu, then check out these Kindle Books from Amazon.com