Install latest version of Python ( Python 3.12 ) on Ubuntu 22.04

  Рет қаралды 9,862

james kiarie

james kiarie

Күн бұрын

Пікірлер: 49
@serhiikroshka7230
@serhiikroshka7230 9 ай бұрын
It works, but I would not recommend to set the latest version of Python the highest priority on Ubuntu OS. Some Ubuntu programs are written on this language and after restart some of them are not working properly (for example, terminal cannot be launched). You''ll need to reboot your system in safe mode (terminal version) and change the priority of Python
@Pryda18
@Pryda18 8 ай бұрын
Yes, I was just going to comment on that, the Ubuntu terminal and other applications stop working correctly. Although I'm not sure if there will be another configuration to avoid having those same errors. Greetings :')
@fahadkhanofficial9031
@fahadkhanofficial9031 8 ай бұрын
Hey bro, I changed the priority of Python highest version but it broke my terminal and now I am unable to open it. I restarted my ubuntu vm in safe mode and uninstalled the new version but I am still unable to open my terminal. Can you please reply back to my message with step by step on how to change the priority back to how it was or how to fix this issue now. I would be very thankful to you for this.
@businessbusiness-xd3mc
@businessbusiness-xd3mc 8 ай бұрын
​ Yes bro just reverse the process by using the nano editor by pressing Ctrl + alt + f3/f1 it will depend and the look for the /usr/bin/python3 and add python3.10 then save and quit by pressing Ctrl + X then y and exit the nano editor after that press Ctrl + Alt + F7 to go back to the GUI interface and your issue will be be solved
@Usama-Tanoli
@Usama-Tanoli 7 ай бұрын
@@businessbusiness-xd3mc so how can we use python3.12 is there any other way
@businessbusiness-xd3mc
@businessbusiness-xd3mc 7 ай бұрын
@@Usama-Tanoli You can use it but you will need to configure most of the applications besides the terminal alone so it is not recommended to upgrade to it now since it is not purely stable
@alexandruteodor3585
@alexandruteodor3585 7 ай бұрын
Thank you! I have Q4OS and I used the second method successfully.
@jameskiarie6923
@jameskiarie6923 7 ай бұрын
You're very welcome!
@kevinnikolai8422
@kevinnikolai8422 3 ай бұрын
thanks my bro, it worked here. Brazil😍😍
@jameskiarie6923
@jameskiarie6923 3 ай бұрын
You're very welcome Kevin! Don't forget to like and subscribe to get more of these videos.
@user-g5rt89
@user-g5rt89 10 ай бұрын
It worked. Thanks for the video.
@jameskiarie6923
@jameskiarie6923 10 ай бұрын
Glad it helped. You are very much welcome.
@recordable542
@recordable542 9 ай бұрын
Thanks! it works like charm
@jameskiarie6923
@jameskiarie6923 9 ай бұрын
You're very much welcome. 😊
@bodnarsa
@bodnarsa 9 ай бұрын
Dear James, I installed Python3.12.1 successfully by the second method on Debian. Thank you very much.
@jameskiarie6923
@jameskiarie6923 9 ай бұрын
You are very much welcome 🤗.
@Ju8Sho
@Ju8Sho 5 ай бұрын
thanks for the video, now how to update python to the latest version automatically I appreciate your knowledge🤝
@thierrymemel
@thierrymemel 4 ай бұрын
Thanks bro well done!
@jameskiarie6923
@jameskiarie6923 4 ай бұрын
I'm glad this worked for you. Have a nice time with your project ! Don't forget to leave a like and subscribe. 🙂
@kapitankidlattv9613
@kapitankidlattv9613 4 ай бұрын
Thanks, works flawlessly! One question, can I delete the installation fils?
@jameskiarie6923
@jameskiarie6923 4 ай бұрын
Sure no problem! Once Python is installed, you can safely delete the files. It's a good house-keeping practice to free up disk space😊
@9876-q5r
@9876-q5r 6 ай бұрын
05:20 Assign priorities to multiple Python versions in system. sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 sudo update-alternatives --config python3
@mayanksh219
@mayanksh219 7 ай бұрын
Thank you for clear demonstration.
@jameskiarie6923
@jameskiarie6923 7 ай бұрын
You are very welcome🙂. Keep it here for more Linux tutorials🤗
@aydinakbuga
@aydinakbuga 6 ай бұрын
Don't make python3.12 in priority of linux. İt causes problems in start/boot. If you already did it, in boot options menu chiose "linux advanced option" then choose "root" option to start from terminal. Then you give priority to python 3.10 again. It worked for me
@jameskiarie6923
@jameskiarie6923 6 ай бұрын
Thank you so much for your insights. I'll keep this in mind.
@JoaoRobertoDev
@JoaoRobertoDev 5 ай бұрын
Thank James
@jameskiarie6923
@jameskiarie6923 5 ай бұрын
You're welcome @JoaoRoberto.
@mback12000
@mback12000 3 ай бұрын
Well done
@jameskiarie6923
@jameskiarie6923 9 күн бұрын
Thank you for taking your time. I appreciate the love.
@michael-kiptoo
@michael-kiptoo 9 ай бұрын
check on timestamp write up method 2 step 6 . It should be sudo make -j 2 kindly rectify. Thanks
@jameskiarie6923
@jameskiarie6923 9 ай бұрын
Thanks man. I highly appreciate it. Looks all good now.
@fredericoppermann2030
@fredericoppermann2030 3 ай бұрын
Hi, the tutorial is very detailed and accurate, I managed to install Python3.12.04. Yet, I couldn't get the terminal to open any more. I had to use the virtual terminal and change the priority to the version that came with ubuntu22.04 which is Python3.10.12. Currently I use this version. Is there something that I have done wrong ? I have followed the instructions step by step yet I am not very knowledgeable on Ubuntu or Python. If someone could explain what happened, I would be very grateful.
@9876-q5r
@9876-q5r 6 ай бұрын
On my Ubuntu 22.04 VM after update-alternatives command Terminal shortcut in favourite apps and desktop context menu is not working. Why is it happening?
@falantogan92
@falantogan92 6 ай бұрын
Hello. Thank you for your video. I jast installed Ubuntu. I am learnin Python now. Is it nessesery for me to install the latest version of Python. What do you tink?
@jameskiarie6923
@jameskiarie6923 6 ай бұрын
Hello there, I'd recommend working with Python 3.10 and newer versions since they will be supported much longer than older versions.
@falantogan92
@falantogan92 6 ай бұрын
@@jameskiarie6923 ty
@rzaabsi
@rzaabsi 9 ай бұрын
First of all, thank you very much Unfortunately, both methods did not work for me. The second method was executed without error until the last step, but at the end, when I checked, the Python version was the same as before!
@jameskiarie6923
@jameskiarie6923 9 ай бұрын
Could you try on a fresh Ubuntu instance and see whether that works? Thanks.
@amankumargupta9973
@amankumargupta9973 7 ай бұрын
Hey, thanks for the video 😀. I am currently using pop os 22.04. I have installed the latest python using deadsnakes ppa and now i want to install pip and virtualenv for python3.12. How to do it. I have installed pip > sudo apt install python3-pip, then upgrade it using pip install --upgrade pip. I have installed latest virtualenv using pip > pip install virtualenv , but it is only working for python3.10 version
@JC.72
@JC.72 5 ай бұрын
its strange, as pip is giving some kind of error. why is this so complicated in today's day and age. and this is from 1 of the most popular OS and programming language... it puzzles me lol
@dozaltay
@dozaltay 6 ай бұрын
Do you mind if I delete the downloaded and extracted file?
@jameskiarie6923
@jameskiarie6923 6 ай бұрын
Not at all. Once Python is installed, you can go ahead and delete it.🙂
@juan-tj1xf
@juan-tj1xf 9 ай бұрын
if i installed python with this method, then how to remove it?
@gl1tch405
@gl1tch405 7 ай бұрын
thanks alot
@jameskiarie6923
@jameskiarie6923 6 ай бұрын
You are very much welcome.
@tiagocruz8638
@tiagocruz8638 8 ай бұрын
Thank you a lot! The second method to install it is very effective. I was having some trouble trying to get the Python 3.12.0 version, but this helped me grandly.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 165 М.
How To Become a Python Developer (2024 Roadmap)
28:21
Loïs Talagrand
Рет қаралды 11 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 66 МЛН
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 4,2 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 52 МЛН
I ranked EVERY terminal emulator. It was nuts
20:35
typecraft
Рет қаралды 87 М.
A Deep Dive Into Linux using Bandit Overthewire
12:33
ThreatGuard
Рет қаралды 172
Install Ubuntu 22.04 on VirtualBox with custom partitions
25:12
james kiarie
Рет қаралды 1,7 М.
deepin 23 | User friendly Linux |  Modern desktop experience | Linux computer
37:44
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 998 М.
Install Docker on Ubuntu 22 04
14:49
james kiarie
Рет қаралды 853
Install (and uninstall) ANY Python version on Linux
12:35
Carberra
Рет қаралды 20 М.
Deploy Flask Application on Ubuntu VPS using Nginx
16:19
DevGuyAhnaf
Рет қаралды 47 М.
Working with Docker containers and images
23:11
james kiarie
Рет қаралды 146
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 66 МЛН