Поиск
Список
Период
Сортировка
Искать

От:
"daflmx" <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

Re:

От:
John R Pierce <pierce@hogranch.com>
Дата:
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

Re:

От:
Craig Ringer <ringerc@ringerc.id.au>
Дата:
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

FAQ