how to upgrade python to latest ubuntu code example Example: how to upgrade 3.6 to 3.7 on linux sudo apt-get install python3.7