top of page

Installing Python 3 for Windows and Linux

Updated: 3 days ago

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:

Windows OS:

  1. Open browser(Internet Explorer, Chrome, Firefox, etc) on your computer.

  2. Go to download python link and click the Download button.

  3. Launch the file after the download is completed and click Install.

  4. Click Yes, is asked for permission.

  5. Check the box "Add Python 3 to path" and click "Install Now".

  6. Click Close and Python 3 is installed in your pc.

  7. To start coding, click on the Windows key of your keyboard and type IDLE.

  8. Click on Open to launch the Python shell.

For better understanding, you may install python following the video below.

Linux OS:

There are 2 ways using which you may install python on your Linux system, let's see each one by one:

1. Browser

  • 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.

2. Terminal

  • 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.

62 views2 comments
bottom of page