• Linux,  Python

    How to make another version of Python the default version in Linux

    In this post I show you how to make Python 3.7 the default version of Python on Linux. (This should work on all distributions of Linux). My default version of Python was Python 2 and I needed to change it to version 3.7. 1. Steps: Open your .bashrc file in your home directory using a text editor or the shell. Add alias python=’/usr/bin/pythonx.x’ to the file and save it. (x.x is your version that you want to be the default) Logout of your session or reboot your computer, then log back in. Open the terminal and then type in Python. It should now show you the version that you specified…

  • Linux,  Python,  Software Development

    Install Python 3.7 on Elementary OS

    In this article and the below video I show you how to install Python 3.7 the easy way on Elementary OS. This works on Pop_OS! and Ubuntu too. 1. Open a terminal 2. type and run: sudo apt update3. type and run: sudo apt install software-properties-common4. type and run: sudo add-apt-repository ppa:deadsnakes/ppa5. Press Enter to add the above repository6. type and run: sudo apt update7. type and run: sudo apt install python3.7 You now have Python 3.7 installed