Installing Python 3 for Windows and Linux
Updated: Oct 17, 2020
Python works on most of the operating systems used today and has major applications in several industries. This article will help you guide - "How to install Python in Windows, and Linux?". The process is very easy and would require you to follow very few steps, so, check the steps of installing python 3 in your OS below:
Open browser(Internet Explorer, Chrome, Firefox, etc) on your computer.
Go to download python link and click the Download button.
Launch the file after the download is completed and click Install.
Click Yes, is asked for permission.
Check the box "Add Python 3 to path" and click "Install Now".
Click Close and Python 3 is installed in your pc.
To start coding, click on the Windows key of your keyboard and type IDLE.
Click on Open to launch the Python shell.
For better understanding, you may install python following the video below.
There are 2 ways using which you may install python on your Linux system, let's see each one by one:
Open browser(Chrome, Firefox, etc) on your computer.
Go to download python link and scroll down to the Stable Releases.
Choose the Python 3 version and download Gzipped or XZ compressed file.
Open Terminal, type python 3, and press the Enter key.
Open Terminal and enter the following command:
sudo apt-get update
This will update all the apps in your Linux OS.
Now type the below command to install python 3.
sudo apt-get install python 3.8
You can install other versions of python by changing 3.8 (like for ex. 2.7).
To launch python, type python3 in the terminal and press the Enter key.
The above command will install python but if you want to install Python IDLE in your system then enter the below command.
sudo apt-get install idle
This will install the IDLE for python where you can write and practice codes. Then on your terminal type - idle and press Enter key.
With this, you have successfully installed python on your system and in case that you face any issues then please let us know in the comments below and we would help you as soon as possible.