From: | Arup Rakshit <aruprakshit(at)rocketmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Uninstall Postgresql in openSUSE 13.1 |
Date: | 2014-12-19 19:50:38 |
Message-ID: | 1556356.auSYlmZFe9@linux-wzza.site |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Saturday, December 20, 2014 12:53:44 AM Arup Rakshit wrote:
> On Saturday, December 20, 2014 12:40:08 AM Arup Rakshit wrote:
> > Hi,
> >
> > I need to uninstall postgresql. I downloaded using
> > http://www.enterprisedb.com/products-services-training/pgdownload . But
> > now
> > I want to uninstall it. As there are no uninstaller, I am thinking to
> > install it manually.
> >
> > [root(at)arup]# find / -name postgresql
> > find: ‘/var/run/user/1000/gvfs’: Permission denied
> > /etc/init.d/postgresql
> > /etc/sysconfig/SuSEfirewall2.d/services/postgresql
> > /etc/sysconfig/postgresql
> > /opt/PostgreSQL/9.3/include/postgresql
> > /opt/PostgreSQL/9.3/lib/postgresql
> > /opt/PostgreSQL/9.3/doc/postgresql
> > /opt/PostgreSQL/9.3/share/postgresql
> >
> > Can you tell me which of those files I have to remove? Or is there any
> > other safe approach or not ?
>
> I found this link -
> http://www.enterprisedb.com/docs/en/9.3/pginstguide/PostgreSQL_Installation_
> Guide-13.htm#P413_27929
>
> And tried -
>
> [root(at)arup]# uninstall-postgresql
> If 'uninstall-postgresql' is not a typo you can use command-not-found to
> lookup the package that contains it, like this:
> cnf uninstall-postgresql
> [root(at)arup]# ls /opt/PostgresPlus/
> ls: cannot access /opt/PostgresPlus/: No such file or directory
> [root(at)arup]#
>
> Nothing worked.
I uninstalled finally -
[root(at)arup]# find /opt -name uninstall-postgresql
/opt/PostgreSQL/9.3/uninstall-postgresql
[root(at)arup]# /opt/PostgreSQL/9.3/uninstall-postgresql
And it got uninstalled. Then I deleted the postgres user
[root(at)arup]# userdel postgres
no crontab for postgres
and manually removed some file :
[root(at)arup]# rm -rf /opt/PostgreSQL/
[root(at)arup]# ls /opt/
--
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore,
if you write the code as cleverly as possible, you are, by definition, not
smart enough to debug it.
--Brian Kernighan
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Cook | 2014-12-19 20:38:03 | Equivalent of PHP "hex2bin()" |
Previous Message | Arup Rakshit | 2014-12-19 18:23:44 | Re: Uninstall Postgresql in openSUSE 13.1 |