Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Python Tutorial
  • Interview Questions
  • Python Quiz
  • Python Glossary
  • Python Projects
  • Practice Python
  • Data Science With Python
  • Python Web Dev
  • DSA with Python
  • Python OOPs
Open In App
Next Article:
Statement, Indentation and Comment in Python
Next article icon

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

Table of Content

  • Install Python on Windows 10
  • Install Python on MacOS
  • Install Python on Linux

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
Statement, Indentation and Comment in Python

N

NaveenArora
Improve
Article Tags :
  • Python
  • python-basics
  • python
Practice Tags :
  • python
  • python

Similar Reads

    How to Learn Python from Scratch in 2025
    Python is a general-purpose high-level programming language and is widely used among the developers’ community. Python was mainly developed with an emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code.If you are new to programming and want to lea
    15+ min read
    Python Introduction
    Python was created by Guido van Rossum in 1991 and further developed by the Python Software Foundation. It was designed with focus on code readability and its syntax allows us to express concepts in fewer lines of code.Key Features of PythonPython’s simple and readable syntax makes it beginner-frien
    3 min read
    Python 3 basics
    Python was developed by Guido van Rossum in the early 1990s and its latest version is 3.11.0, we can simply call it Python3. Python 3.0 was released in 2008. and is interpreted language i.e it's not compiled and the interpreter will check the code line by line. This article can be used to learn the
    10 min read
    Important differences between Python 2.x and Python 3.x with examples
    In this article, we will see some important differences between Python 2.x and Python 3.x with the help of some examples. Differences between Python 2.x and Python 3.x Here, we will see the differences in the following libraries and modules: Division operatorprint functionUnicodexrangeError Handling
    5 min read
    Download and Install Python 3 Latest Version
    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 h
    6 min read
    Statement, Indentation and Comment in Python
    Here, we will discuss Statements in Python, Indentation in Python, and Comments in Python. We will also discuss different rules and examples for Python Statement, Python Indentation, Python Comment, and the Difference Between 'Docstrings' and 'Multi-line Comments. What is Statement in Python A Pytho
    7 min read
    Python | Set 2 (Variables, Expressions, Conditions and Functions)
    Introduction to Python has been dealt with in this article. Now, let us begin with learning python. Running your First Code in Python Python programs are not compiled, rather they are interpreted. Now, let us move to writing python code and running it. Please make sure that python is installed on th
    3 min read
    Global and Local Variables in Python
    In Python, global variables are declared outside any function and can be accessed anywhere in the program, including inside functions. On the other hand, local variables are created within a function and are only accessible during that function’s execution. This means local variables exist only insi
    7 min read
    Type Conversion in Python
    Python defines type conversion functions to directly convert one data type to another which is useful in day-to-day and competitive programming. This article is aimed at providing information about certain conversion functions. There are two types of Type Conversion in Python: Python Implicit Type C
    5 min read
    Private Variables in Python
    Prerequisite: Underscore in PythonIn Python, there is no existence of “Private” instance variables that cannot be accessed except inside an object. However, a convention is being followed by most Python code and coders i.e., a name prefixed with an underscore, For e.g. _geek should be treated as a n
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences