🌐
Python
python.org › downloads
Download Python | Python.org
Download Python 3.14.6 · Looking for Python with a different OS? Python for Windows, Linux/Unix, macOS, Android, iOS, other · Want to help test development versions of Python 3.15? Pre-releases, Docker images · For more information visit the Python Developer's Guide.
🌐
The Hitchhiker's Guide to Python
docs.python-guide.org › starting › install3 › linux
Installing Python 3 on Linux — The Hitchhiker's Guide to Python
$ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt-get update $ sudo apt-get install python3.8 · If you are using other Linux distribution, chances are you already have Python 3 pre-installed as well. If not, use your distribution’s package manager.
Discussions

Installing python on Linux - help?
You should stick with your distros version and only do a manual installation if not possible otherwise. If you really need to do it, have a look here: https://aruljohn.com/blog/install-python-debian/ More on reddit.com
🌐 r/learnpython
16
9
May 26, 2024
linux - How to download python from command-line? - Stack Overflow
I'm on windows, but I'm using a putty shell to connect to a linux machine, and want to install python 2.7. Can't figure out how to do it. How can I download python from command line? More on stackoverflow.com
🌐 stackoverflow.com
How do I install python?
Chances are it's already installed. In terminal you can type python3 --version and it will tell you if it is installed already. More on reddit.com
🌐 r/Ubuntu
11
4
February 25, 2021
Python on linux
pyenv ( https://github.com/pyenv/pyenv ) is probably the easiest and allows for switching between versions for different projects More on reddit.com
🌐 r/learnpython
17
0
May 16, 2025
🌐
Opensource.com
opensource.com › article › 20 › 4 › install-python-linux
How to install Python on Linux | Opensource.com
April 13, 2020 - $ sudo apt update $ sudo apt install build-essential zlib1g-dev \ libncurses5-dev libgdbm-dev libnss3-dev \ libssl-dev libreadline-dev libffi-dev curl ... Visit the official Python website and download the latest version of Python 3.
🌐
Python
docs.python.org › 3 › using › unix.html
2. Using Python on Unix platforms — Python 3.14.6 documentation
Getting and installing the latest version of Python: On Linux: Python comes preinstalled on most Linux distributions, and is available as a package on all others. However there are certain features...
🌐
GitHub
gist.github.com › MichaelCurrin › 57d70f6aaba1b2b9f8a834ca5dd19a59
Install Python on Linux distros · GitHub
Download ZIP · Install Python on Linux distros · Raw · install-python-linux.md · Install using apt-get. sh $ sudo apt-get update $ sudo apt-get install python3 # OR python3.12 · Warning: Note that for Debian, the major Python versions available are locked within a Debian release version.
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-python-on-linux
How to Install Python on Linux - GeeksforGeeks
January 14, 2020 - Python can be installed on Linux using package managers, version managers, or by building it from source.
🌐
Real Python
realpython.com › installing-python
How to Install Python on Your System: A Guide – Real Python
February 18, 2026 - You can run the steps in the following sections to complete the installation on your Linux machine. To start, you need to clone the CPython repository from GitHub or get the Python source code from Python.org. If you go to the downloads page, then you’ll find the latest source for Python 3 at the top.
🌐
Scaler
scaler.com › home › topics › python › how to install python on linux?
How to Install Python on Linux - Scaler Topics
May 19, 2022 - If you want to build all optional modules, install the following packages and their dependencies: ... You can download the latest version of Python as tar file by visiting python.org.
Find elsewhere
🌐
Python Land
python.land › home › install python: detailed instructions for window, mac, and linux
Install Python: Detailed Instructions for Window, Mac, and Linux • Python Land Tutorial
October 1, 2024 - Alternatively, you can download an installer from the Python download website. It’s easy and works like the installation of any other MacOS software program. The downside to this approach is that you won’t get automatic updates. Just like with Windows, you should ensure that Python is added to your system’s PATH. There are several ways to install Python on Linux, that is if you need to install it at all!
🌐
In Easy Steps
ineasysteps.com › home › how do i install python on linux?
How do I install Python on Linux? - In Easy Steps
February 9, 2023 - Step 4. Install Python using a ... install python3” (for SUSE/OpenSUSE). Step 5. Alternatively, download the latest version of Python from the official website....
🌐
Dive into Python
diveintopython.org › home › learn python programming › how to install python › install python on linux
How to Install Python on Linux - A Step-by-Step Guide
May 3, 2024 - If you are using Linux as your operating system, you can easily install Python by following these simple steps: Open your terminal and type the command sudo apt-get install python to install the latest version of Python.
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-python-in-ubuntu
How to install Python in Ubuntu (3 Methods to install ) - GeeksforGeeks
July 23, 2025 - In the below section, we will discuss the step-by-step process to install the Python on Ubuntu also the process you are going to opt here is compatible with Ubuntu 20.04, 22.04 and 24.04.01. Open the Linux Terminal & execute the following Linux Command that will update all the packages installed there. ... After executing the update command, you have to execute upgrade command and to do the follow the below command. ... Now, directly paste the following command in the Terminal & execute it. It will directly download the latest Python File.
🌐
Kinsta®
kinsta.com › home › resource center › blog › python › how to install python on windows, macos, and linux
How To Install Python on Windows, macOS, and Linux - Kinsta®
April 25, 2023 - The easiest way to install Python on Linux is through the Package Manager specific to your distribution. Here are a couple of popular commands: ... Run the appropriate command for your distribution and enter your password when prompted.
🌐
Reddit
reddit.com › r/learnpython › installing python on linux - help?
r/learnpython on Reddit: Installing python on Linux - help?
May 26, 2024 -

I am a long-time user of Python but I have never understood how to install python "properly" - I tend to figure out some way to get it done when I need to, and then forget all about it. But I want to understand it a bit better because it isn't straightforward in my opinion. I am not considering Pyenv or other such "helper" tools/dependencies - I want to learn how to do this the "official" way. I've looked at the official docs but can't see what I've done incorrectly. The main issue is that at some stage I often find myself wanting a newer version of python than what is provided, and then I end up a bit stuck.

I installed Debian and it came with python3 under my /usr/local/bin directory. There is also a Python installation under /usr/bin/python3.11, which I guess is my system python? I believe I was always interacting with my /usr/local/bin python - not the system python, so that's good. (Also I'm always using virtual environments, so let's not discuss their importance please). That was working fine for me, but now I want to upgrade my version of python and I am facing difficulties.

  • What should I do to upgrade python in an "official" way (i.e. not adding dev repositories like deadsnakes, not using helper tools like Pyenv)?

  • What do I need to do with pip? Currently, the pip command actually points to /usr/bin/python - i have to use pip3* (see below).

  • Can I simply delete the old python and pip versions from /usr/local/bin if I wanted to?

  • How do I ensure that every time I type python3 in the terminal, it grabs the latest one? Do I just ensure it is higher up in my PATH variable?

  • Why is there not one simple way to do this? Obviously everyone has slightly different needs, but I imagine 80% of python users just want to use python and have a reasonable way to upgrade when required without screwing something up in their system.

To explain why I'm asking this now, I installed the python source from the main website yesterday and tried to get it working but something is off. Here's what I did

  • Extracted the Python-3.12.3.tar.xz

  • Moved into the dir and ran ./configure --enable-optimizations --with-ensurepip=install

  • Ran make

  • Ran sudo make install

This worked, but I notice when I run python in the terminal REPL that I can't use the up/down keys to cycle through my command history:

>>> print("hello")
hello
>>> ^[[A

*Also, I notice that I now have pip (/usr/bin/python), pip3, and pip3.12 now, and I am confused about that. Should I alias pip with pip3.12 to prevent interacting with the system python? Should I just delete pip3 and make sure pip3 points to pip3.12?

These issues have convinced me that I've now installed python incorrectly somehow. I found some info about readline but that's deprecated, and I am starting to go down the rabbit hole of running random commands to try and fix things, which is probably going to make things worse.

🌐
Talkpython
training.talkpython.fm › installing-python
Install Python on Windows, macOS & Linux @ Talk Python
2 weeks ago - tl;dr; To install Python 3.14 on Windows, macOS, or Linux, you run two commands: first install uv, then run uv python install 3.14 --default. That's the whole process - no installer wizard, no decision tree, no editing your PATH, and the same two steps on every operating system.
🌐
Dummies
dummies.com › article › technology › programming-web-design › python › how-to-install-python-on-a-linux-system-148368
How to Install Python on a Linux System | dummies
July 3, 2025 - The following steps outline the graphical installation technique for Ubuntu, but the technique is similar for other Linux installations: Open the Ubuntu Software Center folder. (The folder may be named Synaptics on other platforms.)
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install python 3 on ubuntu
How to Install Python 3 on Ubuntu | phoenixNAP KB
May 8, 2026 - Run the following command to install the required packages for Python: sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget · 1. Navigate to the /tmp directory with the ...
🌐
GitHub
gist.github.com › MichaelCurrin › 57caae30bd7b0991098e9804a9494c23
How to install Python 3 · GitHub
Debian/Ubuntu (for other Linux distros, see this Gist). Install using apt-get. $ sudo apt-get update $ sudo apt-get install python3 # OR python3.12 · Recommended - install development extensions (C headers necessary for some packages) and pip (for installing packages globally). ... Install Brew. ... Make your the Brew executables bin directory is in your PATH variable. ... Download ...
🌐
Python
wiki.python.org › moin › BeginnersGuide(2f)Download.html
BeginnersGuide/Download
Pages are preserved as they were at the time of archival. For current information, please visit python.org. If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list. The official download page for Python is python.org/downloads.