Naked Science Forum

Non Life Sciences => Technology => Topic started by: satineeraj on 16/08/2021 16:10:12

Title: Install Python on Ubuntu
Post by: satineeraj on 16/08/2021 16:10:12
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.
Please Help me how can I Install Python On Ubuntu?
Title: Re: Install Python on Ubuntu
Post by: nicephotog on 17/08/2021 15:38:04
Here's an online quick tut  that may help.
https://linuxize.com/post/how-to-install-python-3-9-on-ubuntu-20-04/
You may need to update the apt get repositories list for apt get (this type of online install system often requires repositories updates.)
Title: Re: Install Python on Ubuntu
Post by: TommyJ on 20/08/2021 12:24:14
For me, original is handy and working as well.

https://www.python.org/downloads/source/
https://www.python.org/community/
Title: Re: Install Python on Ubuntu
Post by: satineeraj on 27/08/2021 07:32:28
Thanks, everyone for your reply this helps me a lot, I face many of the issue when i install the Python on my Ubantu OS, but finally i did this, I Start by updating the packages list and installing the prerequisites: $ sudo apt update $ sudo apt install software-properties-common Next, add the deadsnakes PPA to your sources list: $ sudo add-apt-repository ppa:deadsnakes/ppa Once the repository is enabled, install Python 3.7 with: $ sudo apt install python3.7
Title: Re: Install Python on Ubuntu
Post by: TommyJ on 27/08/2021 08:07:21
Thank you for feedback!
Precious experience share.