How to uninstall PostgreSQL manually.

You may sometime wish to ‘clean’ the machine down and remove all traces of PostgreSQL. There are a series of steps for this:


–> Well, when uninstalling the server package, all running process are stopped ,you don’t have to stop it.

–> Lists your installed PostgreSQL packages  [  rpm -qa|grep postg ]

–> Remove the RPMs [ rpm -e package-name ]  if you remove all RPMs in one command, the order is irrelevant. If you remove them one at a time, you need to remove them in the order docs, jdbc, server, mainrpm and libs with docs first in order to avoid dependency problems.

–> And incase if you have multiple entries of PostgreSQL packages with same name use [  rpm -e --nodeps --allmatches package-name ]

Related posts:

  1. PostgreSQL for the sage – Must know basics for the system administrators
  2. Postgresql issues with a cPanel server
  3. Manually removing the domains from plesk – when plesk frontend don’t work
  4. cPanel, postgresql and a default database issue with 8.4.x versions of postgres
  5. How to reinstall a package using YUM ?

Comment Form

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later