Search Postgresql Archives

Re: Uninstall Postgresql in openSUSE 13.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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@arup]# ls /opt/PostgresPlus/
> ls: cannot access /opt/PostgresPlus/: No such file or directory
> [root@arup]#
> 
> Nothing worked.

I uninstalled finally - 

[root@arup]#  find /opt -name uninstall-postgresql
/opt/PostgreSQL/9.3/uninstall-postgresql
[root@arup]# /opt/PostgreSQL/9.3/uninstall-postgresql

And it got uninstalled. Then I deleted the postgres user 

[root@arup]#  userdel postgres
no crontab for postgres

and manually removed some file :

[root@arup]# rm -rf /opt/PostgreSQL/
[root@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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux