
Mostly Python comes pre-installed on most of the Ubuntu Linux distributions, but if you have something that's the bare minimal setup, you may not have it installed and when you try to run python command it will give you errors!
# python
bash: python: command not found
# python3
bash: python3: command not found
Installing Python 2.x on Ubuntu
In order to install Python version, you can make use of the command,
# apt-get install python
# python
Python 2.7.18 (default, Mar 8 2021, 13:02:45)
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Installing Python 3.x on Ubuntu
In order to install Python 3 version, you can make use of the command,
# apt-get install python3
# python3
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
- Install Oh My Zsh on Ubuntu Docker complete steps
- Installing Home-brew on Ubuntu
- Install Golang (Go) on Ubuntu
- Install specific JRE on Ubuntu using apt
- How to stop/start/restart apache server using command [Ubuntu]
- How to install zsh shell on Ubuntu
- Quick steps to install Nginx on Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- Add new user in Ubuntu Linux using Terminal Command
- Fix Ubuntu /bin/sh: 1: zsh: not found error
- How to install Python on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to stop MongoDB Server running on Ubuntu
- Install postgres Client using apt-get command
- How to kill service running on a port on Ubuntu Linux
- [fix] openssl No such file or directory error C++
- Fix - sudo: systemctl: command not found
- Access Windows share folder in Ubuntu Device in Network
- Add or remove users from sudo group - Ubuntu
- Quickly install Apache Server on Ubuntu Linux
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
- How to download and install macOS 13 Ventura - MacOS
- How to clear Mac Terminal screen - MacOS
- [Solved] com.sun.xml.ws.transport.http.servlet.WSServletContextListener ClassNotFoundException - Java
- How to change the name of your Mac running on macOS Ventura 13 - MacOS
- Install and Run Cassandra on Docker Desktop - Docker
- Channel 50 SMSes received every few minutes Android Phones - Android
- How to create a SharePoint list from an existing list with same columns, views, formatting, data - SharePoint
- Android: Save Data in local Db using Android Room - Android