LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstall Postgresql (https://www.linuxquestions.org/questions/linux-newbie-8/uninstall-postgresql-842607/)

smitakamdar 11-05-2010 07:40 AM

Uninstall Postgresql
 
Hi All,

I want to uninstall Postgresql on LINUX redhat. I have installed it from source. how do i do it?

Any advice is welcome. Thanks a lot!

Tinkster 11-05-2010 03:00 PM

Firstly: Please don't hi-jack others threads, and don't dig
up 7 year old carcasses of threads. I split your post out
and made it into a thread of yours.

And to answer your question: if you still have the source
directory, just go there and do "make uninstall".

Out of curiosity: why are you uninstalling Postgres? :}

[edit]
Btw, you never followed up on your first post here:
http://www.linuxquestions.org/questi...5/#post4132323
which, coincidentally, also was answered by me with
a very similar response...
[/edit]



Cheers,
Tink

smitakamdar 11-08-2010 03:34 AM

Uninstall Postgres
 
HI,

I tried make uninstall but its not working.It is saying 'No rule to make target'. can u pls suggest something else?

Thanks a lot!! Really appreciate your quick response!

linuxlover.chaitanya 11-08-2010 03:36 AM

You will have to run configure script before doing the uninstallation.

smitakamdar 11-08-2010 07:48 AM

Uninstalling_postgresql
 
Hi,

I tried to manually delete files related to postgresql. I just have 1 doubt . Can i remove the below files too???

/usr/share/selinux/targeted/postgresql.pp.bz2
/usr/share/selinux/devel/include/services/postgresql.if
/etc/selinux/targeted/modules/active/modules/postgresql.pp

Thanks a lot for your response!

Tinkster 11-08-2010 10:36 AM

These are part of the OSes SELinux policy, and not of postgres.



Cheers,
Tink


All times are GMT -5. The time now is 07:50 AM.