1. Open a terminal 2. type and run: sudo apt update 3. type and run: sudo apt install software-properties-common 4. type and run: sudo add-apt-repository ppa:deadsnakes/ppa 5. Press Enter to add the above repository 6. type and run: sudo apt update 7. type and run: sudo apt install python3.7