Open In App

Download and Install Python 3 Latest Version

Last Updated : 07 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

If you have started learning of Python programming, then for practice, Python installation is mandatory, and if you are looking for a guide that teaches you the whole process from downloading Python to installing it, then you are on the right path.

Here in this download and install Python guide, we have mentioned a step-by-step guide on downloading and installing on the machine. This guide is useful for all users, like Windows, Mac, and Linux.

To understand how to download and install Python, you need to know what Python is and where it is installed in your system. Let's consider a few points:

  • Python is a widely used general-purpose, high-level programming language.
  • Every release of Python is open-source. Python releases have also been compatible with General Public License (GPL).
  • Any version of Python can be downloaded from the Python Software Foundation website at python.org.
  • Most languages, notably Linux, provide a package manager through which you can directly install Python on your Operating System

How to Download and Install Python on Windows

Note: The below process of downloading and installing Python in Windows works for both of the Windows 10 as well as Windows 11.

Step 1: Download Python for Windows

  • Visit the Python Website and Navigate to the Downloads Section
  • First and foremost step is to open a browser and type Python Download or paste link (https://www.python.org/downloads/)

Step 2: Choose the Python Version

Note: Here in this guide we have installed the latest version of Python 3.13.1

  • Once you landed on the download page choose the Python Version
  • Click on the version you want to download. - Python 3.13.2 (the latest stable release as of now is Python 3.13.21.
download-python
Download and Install Python

Step 3: Download the Python Installer

  • Once the download is complete, run the installer program. On Windows , it will typically be a .exe file , on macOS , it will be a .pkg file , and on Linux , it will be a .tar.gz file .

Steps to Install Python on Windows

Here we are providing the installation process of Python 3.13.1 on Windows

Step 1: Run Python Installer

  • Run the Python Installer for how to install Python on the Windows downloads folder.
install-python
Install Python
  • Make sure to mark Add Python to PATH otherwise you will have to do it explicitly. It will start installing Python on Windows.
  • After installation is complete click on Close . Bingo..!! Python is installed. Now go to Windows and type IDLE.
  • This is Python Interpreter also called Python Shell. I printed Hello geeks, python is working smoothly.
  • The three greater than >>> sign is called the Python command prompt, where we write our program and with a single enter key, it will give results so instantly.

Install Python on MacOS

To install Python simply open the Terminal app from Application -> Utilities and enter the following command

Step 1: Install Python Via Brew

brew install python3
  • After command processing is complete, Python's version 3 would be installed on your Mac.
install-brew-python
install Python Brew

Step 2: Varify Python Installation

  • To verify the installation enter the following commands in your Terminal app
python3 --version
mac3-python-version
Python3 version

Install Python on Linux

Most Linux OSs have Python pre-installed . To check if your device is pre-installed with Python or not, just go to the terminal using Ctrl+Alt+T, On every Linux system including the following OS:

  • Ubuntu
  • Linux Mint
  • Debian
  • openSUSE
  • CentOS
  • Fedora

You will find Python already installed. You can check it using the following command from the terminal

$ python --version

To check the latest version of Python 3.x.x :

$ python3 --version

Updating and Upgrading Python on Linux

Clearly, it won't be the latest version of Python. There can be multiple methods to install Python on a Linux base system and it all depends on your Linux system. For almost every Linux system, the following commands would work definitely.

Install the prerequisite for adding PPAs

This command installs the software-properties-common package, which provides a tool called add-apt-repository . This tool is used to add new package repositories (like the deadsnakes PPA) to your system's sources list.

sudo apt install software-properties-common -y
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.13
Linux-python-install
Install Python in Linux

Verifying the Installation of python3.13 in Linux

To verify the installation of python3.13 in linux we can simply display the version of python3.13 by using the command mentioned below.

python3.13 --version
Linux-python
Check Python Version

We also have a complete Python3 Tutorial designed to learn Python 3 at all levels, from beginners to advanced. Also checkout our comprehensive Python course takes you through the fundamental concepts of Python 3 and gradually progresses to more advanced topics.

Conclusion

Installing Python on Windows, Mac, and Linux is a straightforward process that opens the door to endless coding possibilities. Whether you used an installer, a package manager, or the command line, you now have a fully functional Python environment to start building projects and exploring the language. Remember to check your installation with a quick test in your terminal or command prompt, and refer back to the documentation if you run into any issues.


Next Article
Article Tags :
Practice Tags :

Similar Reads