Ubuntu – How to remove PostgreSQL 8.4 completely

postgresql

I am looking for a way to remove PostgreSQL 8.4 completely? Can any one help me?

Best Answer

  • Assuming it's installed from packages,

    sudo apt-get remove postgresql-8.4
    

    Or does that not work and you need something more involved? Please post more details if so.

    You can get a list of relevant packages to look at removing with:

    dpkg -l | grep postgresql