No title

Started by daflmxover 14 years ago3 messagesgeneral
Jump to latest
#1daflmx
daflmx@qq.com

Hi,friends.
How can I remove the postgresql-9.1.1 from my system.I have installed it by source code.
Thanks.
fei

#2John R Pierce
pierce@hogranch.com
In reply to: daflmx (#1)
Re:

On 10/30/11 8:52 PM, daflmx wrote:

Hi,friends.
How can I remove the postgresql-9.1.1 from my system.I have installed
it by source code.
Thanks.

fei

rm -rf /path/to/postgres

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

#3Craig Ringer
craig@2ndquadrant.com
In reply to: daflmx (#1)
Re:

On 10/31/2011 11:52 AM, daflmx wrote:

Hi,friends.
How can I remove the postgresql-9.1.1 from my system.I have installed it
by source code.
Thanks.

If you installed it into a --prefix with nothing else in it, just delete
that folder.

If you used a --prefix that has other stuff in it, eg
"--prefix=/usr/local", you'll have to remove the individual directories
that were added unless it has a "make uninstall" (I haven't checked).

In general, it's helpful to use a program like "checkinstall" to make
manifests of source installs so they're simple and easy to uninstall
later. This has to be done when you install so it won't help you this
time, but it will in future.

--
Craig Ringer