Python is installed to all of our computers because it is useful framework for a variety of things .

To use the python interface from terminal just type python .

to check you python version just type python --version

to run a python script you need to type in the form :

./python_script_name.py

but very importantly it has to be executable first

chmod +x python_script_name.py

I hope it helps !

Answer from billybadass on askubuntu.com
🌐
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 - Now, directly paste the following command in the Terminal & execute it. It will directly download the latest Python File. ... Replace [version number] with the Python version you want to be installed in your Ubuntu system.
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 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
How to download and use python on ubuntu? - Stack Overflow
I recently purchased a system 76 laptop, this is my first exposure to the ubuntu os. Terminal says that I currently have version 2.7.5+(im not sure what the plus means). My first question is how d... More on stackoverflow.com
🌐 stackoverflow.com
How to Install Python on Ubuntu Step by Step Guide | Linux Tutorial

Python is pre-installed on ubuntu. Many of the system tools run on python. This tutorial is irrelevant.

More on reddit.com
🌐 r/Ubuntu
4
0
August 8, 2019
People also ask

How do I install Python 3.9 on Ubuntu?
Embarking on the quest to install Python 3.9 on Ubuntu is a journey of empowerment, unfolding within the sacred confines of the Ubuntu terminal. Whether you find yourself nestled in the stability of Ubuntu 20.04 or venturing into the innovative landscapes of Ubuntu 22.04, the timeless incantation sudo apt-get install python3.9 resonates, summoning the latest Python version into existence. Within the Ubuntu terminal, your coding sanctum, the rhythmic dance of commands like sudo apt-get install python3.9 unveils the seamless integration of Python 3.9, ensuring its rightful place in your Ubuntu r
🌐
1gbits.com
1gbits.com › home page › blog › ubuntu tutorials › how to install python in ubuntu: unleashing the power of code on your linux
How to Install Python in Ubuntu: Unleashing the Power of Code on ...
Where Python is installed Ubuntu?
In the vibrant tapestry of Ubuntu, Python elegantly finds its abode through a symphony of commands, transforming the terminal into a sacred space for coding endeavors. When you embark on the journey to install Python in Ubuntu, the timeless incantation sudo apt-get install python resonates, summoning Python's presence effortlessly. Whether within the stable realms of Ubuntu 20.04 or the futuristic landscapes of Ubuntu 22.04, the terminal waltz ensues, with sudo apt-get install python orchestrating Python's seamless integration. Witness the enchanting dance unfold even within Ubuntu WSL and Doc
🌐
1gbits.com
1gbits.com › home page › blog › ubuntu tutorials › how to install python in ubuntu: unleashing the power of code on your linux
How to Install Python in Ubuntu: Unleashing the Power of Code on ...
How to start Python in Ubuntu?
Embarking on the Pythonic journey in Ubuntu is not just about installation but the gateway to a world of coding possibilities. To commence this odyssey, start by gracefully summoning Python into your Ubuntu realm. Whether you find solace in the dependable Ubuntu 20.04 or explore the cutting-edge Ubuntu 22.04, the timeless incantation sudo apt-get install python unveils the entrance to Python within the sacred confines of the terminal. Should the dance continue into Ubuntu 23.04, the rhythmic echo of commands orchestrates Python's presence seamlessly. In the Ubuntu terminal, your coding sanctu
🌐
1gbits.com
1gbits.com › home page › blog › ubuntu tutorials › how to install python in ubuntu: unleashing the power of code on your linux
How to Install Python in Ubuntu: Unleashing the Power of Code on ...
🌐
BitLaunch
bitlaunch.io › blog › how-to-install-python-on-ubuntu
7 Ways to Install and Manage Python and Python3 on Ubuntu
March 5, 2026 - Learn the best ways to install Python on Ubuntu, including how to install pip, pyenv, and Anaconda on Ubuntu to safely manage your Python 3 versions.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install python 3 on ubuntu
How to Install Python 3 on Ubuntu | phoenixNAP KB
February 5, 2025 - Follow our step-by-step installation guide and install Python 3 on Ubuntu using APT, PPA, or from the source code.
🌐
Python.org
discuss.python.org › python help
Install python 3.11.9 on ubuntu - Python Help - Discussions on Python.org
In the VM, I have run the following: sudo apt install sudo apt upgrade this: python3 --version returns: Python 3.10.12 When I run: sudo apt install python3 I receive this message: python3 is already at the newest version (3.10.6-1~22.04) When...
Published   April 16, 2024
🌐
1Gbits
1gbits.com › home page › blog › ubuntu tutorials › how to install python in ubuntu: unleashing the power of code on your linux
How to Install Python in Ubuntu: Unleashing the Power of Code on Your Linux
April 20, 2026 - Open up your terminal, the gateway to the heart of your Ubuntu system, and type in the magic incantation: sudo apt-get install python. This command signals thehow to install python in ubuntu process, bringing Python to life on your machine.
Find elsewhere
🌐
Linuxize
linuxize.com › home › python › how to install python on ubuntu 24.04
How to Install Python on Ubuntu 24.04 | Linuxize
May 7, 2026 - Install Python on Ubuntu 24.04 using the default Ubuntu packages, the deadsnakes PPA for newer versions, or a source build. Includes pip and virtual environments.
🌐
Beebom
beebom.com › how-install-python-ubuntu-linux
How to Install Python in Ubuntu Linux (4 Methods) | Beebom
October 15, 2025 - But bear in mind, it’s a slightly ... specs. Here are the steps you need to follow. 1. First, open the Terminal and run the below command to update the packages....
🌐
Pluralsight
pluralsight.com › blog › software development
Introduction to Python in Ubuntu Linux | Pluralsight
March 12, 2025 - To make sure Python is installed, access your terminal using Ctrl + Alt + T and type "python3." If you see a "command not found" error, you can install Python with the Advanced Package Tracker by typing "sudo apt install python3."
🌐
Medium
medium.com › @pythonistaSage › installing-and-using-python-on-ubuntu-a-guided-tutorial-c4ab0eda33a3
Installing and Using Python on Ubuntu: A Guided Tutorial | by PythonistaSage | Medium
March 25, 2023 - To install Python on Ubuntu, open the terminal and type the following command: ... This will update the package list on your system. Then, type the following command to install Python: ... This will install Python 3 on your system.
🌐
Dive into Python
diveintopython.org › home › learn python programming › how to install python › install python on ubuntu
How to Install Python on Ubuntu - Concise Tutorial
May 3, 2024 - To install Python on Ubuntu, you can use the command apt-get install python in your terminal. This will download and install the latest version of Python that is available for Ubuntu.
🌐
MakeUseOf
makeuseof.com › home › linux › how to install python in ubuntu [3.12]
How to Install Python in Ubuntu [3.12]
June 30, 2023 - You can download the Python package from the official Ubuntu repository. Here's how to do it: Open up your terminal by pressing Ctrl + Alt + T. Update your system's repository list by entering the following command: ... APT will automatically ...
🌐
Reddit
reddit.com › r/ubuntu › how do i install python?
r/Ubuntu on Reddit: How do I install python?
February 25, 2021 -

Hey Reddit. I'm super new to ubuntu. (like 3 days ago I got my first machine running it.) and need some quick help. I want to install python so I can run code on the machine and I have no idea how to do that. I'm guessing it'll be something like "sudo install python3.9". thanks for the help!

🌐
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 update $ sudo apt-get install python3.6 · If you’re using another version of Ubuntu (e.g.
🌐
Vultr
docs.vultr.com › how-to-install-python-and-pip-on-ubuntu-24-04
How to Install Python and Pip on Ubuntu 24.04 Guide | Vultr Docs
March 20, 2025 - You will learn how to install Python on Ubuntu 24.04 using a PPA to get the latest version, manage multiple Python versions, and use the Python virtual environment package, virtualenv, to create isolated development environments. ... Deploy an Ubuntu 24.04 server instance on Vultr. Access the server using SSH as a non-root user with sudo privileges. Update the server. Python is available in the default APT repositories on Ubuntu 24.04 but may not be the latest version.
🌐
ComputingForGeeks
computingforgeeks.com › home › how to install python 3.10 on ubuntu 22.04|20.04|18.04
How To Install Python 3.10 on Ubuntu 22.04|20.04|18.04 [Guide]
March 21, 2026 - This makes it easy to install Python on Ubuntu and be able to receive continued updates, bug fixes, and security updates. Install the required dependency for adding custom PPAs. ... Then proceed and add the deadsnakes PPA to the APT package manager sources list as below. ... Press Enter to continue. .......... To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide: https://packaging.python.org/installing/ Sources ======= The package sources are available at: https://github.com/deadsnakes/ Nightly Builds ============== For nightly builds, see ppa:deadsnakes/nightly https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it
🌐
BlueVPS
bluevps.com › blog › how to install python on ubuntu 22.04? (a complete step-by-step guide)
How to Install Python on Ubuntu 22.04 - BlueVPS.com
September 19, 2024 - Perform the following steps to install Python on Ubuntu 22.04: First, update the package lists to ensure you're getting the latest version available. Run the following command: ... The above command will display the installed Python version ...
🌐
Cherry Servers
cherryservers.com › home › blog › linux › how to install python3 on ubuntu 22.04 | step-by-step
How to Install Python3 on Ubuntu 22.04 | Cherry Servers
February 20, 2026 - sudo apt install build-essential software-properties-common -y · Once that’s done, add the deadsnakes PPA as follows. ... The command populates information about the deadsnakes PPA as shown below. Take your time and brush over the information provided on your terminal. The deadsnakes PPA provides Python 3.7, Python 3.9, and Python 3.11 for Ubuntu 22.04.