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

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 50

  • @mayanksh219
    @mayanksh219 7 місяців тому +2

    Thank you for clear demonstration.

    • @jameskiarie6923
      @jameskiarie6923  7 місяців тому +2

      You are very welcome🙂. Keep it here for more Linux tutorials🤗

  • @michaelrstudley
    @michaelrstudley 19 днів тому

    Thank you so much for making it very clear and easy

  • @alexandruteodor3585
    @alexandruteodor3585 8 місяців тому +1

    Thank you! I have Q4OS and I used the second method successfully.

  • @tiagocruz8638
    @tiagocruz8638 9 місяців тому

    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.

  • @Ju8Sho
    @Ju8Sho 6 місяців тому +1

    thanks for the video, now how to update python to the latest version automatically
    I appreciate your knowledge🤝

  • @kapitankidlattv9613
    @kapitankidlattv9613 5 місяців тому +1

    Thanks, works flawlessly! One question, can I delete the installation fils?

    • @jameskiarie6923
      @jameskiarie6923  5 місяців тому

      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😊

  • @kevinnikolai8422
    @kevinnikolai8422 4 місяці тому +2

    thanks my bro, it worked here. Brazil😍😍

    • @jameskiarie6923
      @jameskiarie6923  4 місяці тому +1

      You're very welcome Kevin! Don't forget to like and subscribe to get more of these videos.

  • @serhiikroshka7230
    @serhiikroshka7230 10 місяців тому +5

    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 9 місяців тому

      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 9 місяців тому +1

      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 8 місяців тому

      @@businessbusiness-xd3mc so how can we use python3.12 is there any other way

    • @businessbusiness-xd3mc
      @businessbusiness-xd3mc 8 місяців тому

      @@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

  • @bodnarsa
    @bodnarsa 10 місяців тому

    Dear James, I installed Python3.12.1 successfully by the second method on Debian. Thank you very much.

  • @recordable542
    @recordable542 10 місяців тому +1

    Thanks! it works like charm

  • @Skandagupta-theHunSlayer
    @Skandagupta-theHunSlayer 11 місяців тому +1

    It worked. Thanks for the video.

    • @jameskiarie6923
      @jameskiarie6923  11 місяців тому

      Glad it helped. You are very much welcome.

  • @thierrymemel
    @thierrymemel 5 місяців тому +1

    Thanks bro
    well done!

    • @jameskiarie6923
      @jameskiarie6923  5 місяців тому

      I'm glad this worked for you. Have a nice time with your project ! Don't forget to leave a like and subscribe. 🙂

  • @falantogan92
    @falantogan92 7 місяців тому +1

    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  7 місяців тому +1

      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 7 місяців тому

      @@jameskiarie6923 ty

  • @9876-q5r
    @9876-q5r 7 місяців тому

    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

  • @9876-q5r
    @9876-q5r 7 місяців тому

    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?

  • @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.

  • @amankumargupta9973
    @amankumargupta9973 8 місяців тому +1

    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 6 місяців тому

      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

  • @JoaoRobertoDev
    @JoaoRobertoDev 6 місяців тому +1

    Thank James

  • @mback12000
    @mback12000 3 місяці тому +1

    Well done

    • @jameskiarie6923
      @jameskiarie6923  Місяць тому

      Thank you for taking your time. I appreciate the love.

  • @michael-kiptoo
    @michael-kiptoo 10 місяців тому +1

    check on timestamp write up method 2 step 6 . It should be sudo make -j 2 kindly rectify. Thanks

    • @jameskiarie6923
      @jameskiarie6923  10 місяців тому

      Thanks man. I highly appreciate it. Looks all good now.

  • @aydinakbuga
    @aydinakbuga 7 місяців тому +1

    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  7 місяців тому

      Thank you so much for your insights. I'll keep this in mind.

  • @dozaltay
    @dozaltay 6 місяців тому +1

    Do you mind if I delete the downloaded and extracted file?

    • @jameskiarie6923
      @jameskiarie6923  6 місяців тому +1

      Not at all. Once Python is installed, you can go ahead and delete it.🙂

  • @rzaabsi
    @rzaabsi 10 місяців тому

    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  10 місяців тому

      Could you try on a fresh Ubuntu instance and see whether that works? Thanks.

  • @juan-tj1xf
    @juan-tj1xf 10 місяців тому

    if i installed python with this method, then how to remove it?

  • @gl1tch405
    @gl1tch405 8 місяців тому +1

    thanks alot