title: How do update Python on Azure Linux VM
body: <p>I'm trying to install Python 3.6.1 on an Azure Ubuntu 16.04 LTS, but its stuck at Python 3.5.2.</p>
  
  <p>Commands I have tried:</p>
  
  <pre><code>sudo apt --upgrade
  sudo apt --upgrade python3
  sudo apt --update
  sudo apt remove python3
  sudo apt install python 3.6.1 (doing sudo apt install python3.7 doesn't work)
  </code></pre>
  
  <p>I've never had to deal with this on a local Linux install.</p>