Thread: Uninstall postgres

Uninstall postgres

From
Sonam Sharma
Date:
I have installed postgres with the source code option using configure --prefix and then make install. Can someone please help in uninstalling this. How to uninstall the postgres now. The installation was done as postgres user.

Sv: Uninstall postgres

From
Andreas Joseph Krogh
Date:
På torsdag 05. september 2019 kl. 10:53:01, skrev Sonam Sharma <sonams1209@gmail.com>:
I have installed postgres with the source code option using configure --prefix and then make install. Can someone please help in uninstalling this. How to uninstall the postgres now. The installation was done as postgres user.
 
make uninstall
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

Re: Uninstall postgres

From
Sonam Sharma
Date:
It's saying gmake *** No rule to make Target uninstall. 

On Thu, Sep 5, 2019, 2:27 PM Andreas Joseph Krogh <andreas@visena.com> wrote:
På torsdag 05. september 2019 kl. 10:53:01, skrev Sonam Sharma <sonams1209@gmail.com>:
I have installed postgres with the source code option using configure --prefix and then make install. Can someone please help in uninstalling this. How to uninstall the postgres now. The installation was done as postgres user.
 
make uninstall
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

Re: Uninstall postgres

From
Sonam Sharma
Date:
It's done. I have done it from path 😃. 
Thanks 

On Thu, Sep 5, 2019, 2:27 PM Andreas Joseph Krogh <andreas@visena.com> wrote:
På torsdag 05. september 2019 kl. 10:53:01, skrev Sonam Sharma <sonams1209@gmail.com>:
I have installed postgres with the source code option using configure --prefix and then make install. Can someone please help in uninstalling this. How to uninstall the postgres now. The installation was done as postgres user.
 
make uninstall
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

Re: Uninstall postgres

From
Andreas Joseph Krogh
Date:
På torsdag 05. september 2019 kl. 11:01:25, skrev Sonam Sharma <sonams1209@gmail.com>:
It's saying gmake *** No rule to make Target uninstall. 
 
On Thu, Sep 5, 2019, 2:27 PM Andreas Joseph Krogh <andreas@visena.com> wrote:
På torsdag 05. september 2019 kl. 10:53:01, skrev Sonam Sharma <sonams1209@gmail.com>:
I have installed postgres with the source code option using configure --prefix and then make install. Can someone please help in uninstalling this. How to uninstall the postgres now. The installation was done as postgres user.
 
make uninstall
 
Strange – works for me:
 
[andreak@spaceballs-one] ~/dev/postgresql (REL_12_STABLE)
$ make uninstall
make -C doc uninstall
make[1]: Entering directory '/home/andreak/dev/postgresql/doc'
make -C src uninstall
make[2]: Entering directory '/home/andreak/dev/postgresql/doc/src'
make -C sgml uninstall

...
...
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment