title: How to completely uninstall brew and re-install brew in ubuntu 19.04
body: <p>I installed homebrew on ubuntu 19.04 and it's accidentally stop, so the install not complete. but the folder already created.</p>
  
  <p>If I install it again </p>
  
  <pre><code>sudo apt install linuxbrew-wrapper
  </code></pre>
  
  <p>I get a message:</p>
  
  <blockquote>
    <p>linuxbrew-wrapper is already the newest version</p>
  </blockquote>
  
  <p>but if I write command : </p>
  
  <pre><code>brew upgrade
  </code></pre>
  
  <p>I get this message:</p>
  
  <blockquote>
    <p>Command 'brew' not found, but can be installed with:</p>
    
    <p>sudo apt install linuxbrew-wrapper".</p>
  </blockquote>
  
  <p>Can anyone help me fix this?</p>