Help to Install Python on Ubuntu

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
gulshannegi
New Forum User
New Forum User
Posts: 1
Joined: Mon Aug 16, 2021 4:52 am
Contact:

Help to Install Python on Ubuntu

Unread post by gulshannegi »

I am trying to install Python 3.9 on my Ubuntu OS, I try to install Python in the following manner
sudo apt-get install python3.9
after seems installed I tried checking the version:
python -V
However, this input returns:
-bash: python: command not found
It seems like Python versions don't fully install.
Can anyone help me for installing the Python on Ubuntu
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4136
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Help to Install Python on Ubuntu

Unread post by mikeshinn »

On many distros, the python binary will be named after the version, for example the binary name may be:

python3.9

Instead of python.
Post Reply