title: How to completely delete postgres?
body: <p>I am new to postgres and I think I messed up my postgresql, so I want to delete postgresql so that I can reinstall it. The problem is that when I run the following command, the folder /etc/postgresql/9.5 still exists.</p>
  <pre><code>sudo apt-get remove postgresql
  </code></pre>
  <p>I also tried:</p>
  <pre><code>sudo apt-get --purge remove postgresql
  </code></pre>
  <p>But this did not do the trick either.
  Does anyone have an idea of how to delete postgresql completely?</p>