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/ Answer from sgunb on reddit.com
🌐
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 ...
🌐
Python
python.org › downloads
Download Python | Python.org
Or get the standalone installer for Python 3.14.6 · Download Python 3.14.6 · 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?
Discussions

Install python 3.11.9 on ubuntu
According to this page: 'Python 3.11.9 is the newest major release of the Python programming language". Can I install Python 3.11.9 in my Virtual Machine? I have installed guest VM ubuntu-22.04.4-desktop-amd64.iso on a Windows 10 host. In the VM, I have run the following: sudo apt install sudo ... More on discuss.python.org
🌐 discuss.python.org
12
1
April 16, 2024
How to instala python on linux mint?
This is a Google question More on reddit.com
🌐 r/linuxquestions
9
0
February 10, 2024
Getting started with Python development on a linux-system
There's no need to deal with all this stuff when you're just getting started. Just install Python, then create a folder where you want to keep your projects, then create a file __main__.py in the project directory and do your stuff there. You don't need virtual environments to get started with coding and stuff. You can learn about it later when you get the basics done. Use VS Code Editor. Once you get the basics done, then you may try asdf to manage multiple Python versions and use Poetry for virtual environment management. More on reddit.com
🌐 r/linuxquestions
11
0
January 23, 2024
How do I install python 2.7
You don't. Nobody ships it anymore. It's unmaintained and is a security risk. Find an alternative in Python 3 or another language. There are libraries and tools to convert to Python 3, use those. Become a better Python programmer and do it yourself. Otherwise you can install a VM of an old Linux release like Ubuntu 18.04 and try it there. Keep it off the internet and away from your personal files. More on reddit.com
🌐 r/linuxquestions
21
0
November 23, 2023
🌐
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 Training
Check if Python is installed, choose the best installer, and set up Python 3 on Windows, macOS, and Linux, with tips for pyenv, Chocolatey, and more.
Find elsewhere
🌐
Python.org
discuss.python.org › python help
Install python 3.11.9 on ubuntu - Python Help - Discussions on Python.org
Can I install Python 3.11.9 in my Virtual Machine? I have installed guest VM ubuntu-22.04.4-desktop-amd64.iso on a Windows 10 host. In the VM, I have run the following: sudo apt install sudo ...
Published   April 16, 2024
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
Python install - Linux Mint Forums
March 20, 2024 - To set up the rest of the development environment, I would suggest installing ... python3.10-venv from the software center this would give you access to the python3 package manager pip and a way to create virtual environments.
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-python-on-linux
How to Install Python on Linux - GeeksforGeeks
July 12, 2025 - Miniconda is a lightweight version of Anaconda that includes only Conda and its dependencies, allowing you to install Python and manage packages effectively. Here’s a step-by-step guide to installing Python using Miniconda on a Linux system.
🌐
Readthedocs
fire-insights.readthedocs.io › en › latest › installation › python-install-linux.html
Python Installation on Linux - Redhat/CentOS — Sparkflows 0.0.1 documentation
Python Installation on Linux - Redhat/CentOS · Edit on GitHub · Python is only needed if you need to use Python and the PySpark engine in Fire Insights. Python modules in Fire Insights use Python 3.7+. Use the below commands: python --version python3.7 --version ·
🌐
ArchWiki
wiki.archlinux.org › title › Python
Python - ArchWiki
May 17, 2026 - A large number of popular packages are available in the official repositories and AUR. This is the preferred way to install system-wide packages, and the only method officially supported on Arch Linux. Developers working with Python may need to use packages or package versions not available ...
🌐
Oracle
docs.oracle.com › en › operating-systems › oracle-linux › 9 › python › python-InstallingPython.html
Oracle Linux 9: Installing and Managing Python
January 8, 2026 - Those packages are intended for development purposes only, so we recommend that you only install them in development environments. In that scenario you could optionally use pip to install extra Python libraries that haven't been packaged yet. For more information, see Installing Third-Party Packages. You can also install extra dependencies from the Oracle Linux yum server.
🌐
GitHub
gist.github.com › alx-xlx › a1a878a7ea5271c3c44da3ca86b08a2b
Install Python3 in Windows/Linux · GitHub
As above, invoke with the command python3.6. Begin by using pip to install Pipenv and its dependencies,
🌐
GitHub
gist.github.com › MichaelCurrin › 57d70f6aaba1b2b9f8a834ca5dd19a59
Install Python on Linux distros · GitHub
Install using apt-get. sh $ sudo apt-get update $ sudo apt-get install python3 # OR python3.12
🌐
Ericbrown
ericbrown.com › installing-python-on-linux
Installing Python on Linux (and the necessary modules)
November 21, 2016 - To get started installing python on linux, there are a couple of options for you. The first option – which is most likely the easiest with the least headaches – is to go download Anaconda or Enthought Canopy .
🌐
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 - Installing Python on Linus can be tricky. Let this tutorial walk you through how to get Python up and running in no time at all!
🌐
Computing
pages.github.nceas.ucsb.edu › NCEAS › Computing › local_install_python_on_a_server.html
Installation of Python in your home directory (without sudo rights) | Computing
Uncompress the folder: tar -zxvf Python-2.7.7.tar.gz ... Install the virtual environment for the local python: ~/.localpython/bin/virtualenv setup.py install
🌐
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 - Learn how to install Python on Windows, MacOS, and Linux. We show you multiple installation options, so you can choose what suits you best.
🌐
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...