How to upgrade Python 3.9 in Ubuntu code example Example: update ubuntu to python 3.85 sudo apt-get install python3.8