How Do I Make Python 3 8 Default Ubuntu?
Contents

How do I make python3 8 default on Ubuntu?

Steps to Set Python3 as Default On ubuntu?

  1. Check python version on terminal – python –version.
  2. Get root user privileges. On terminal type – sudo su.
  3. Write down the root user password.
  4. Execute this command to switch to python 3.6. …
  5. Check python version – python –version.
  6. All Done!

8 нояб. 2020 г.

How do I make Python 3.7 my default Ubuntu?

Open your . bashrc file nano ~/. bashrc . Type alias python=python3 on to a new line at the top of the file then save the file with ctrl+o and close the file with ctrl+x.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest