LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2010, 08:40 AM   #1
smitakamdar
LQ Newbie
 
Registered: Oct 2010
Posts: 9

Rep: Reputation: 0
Question 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!
 
Old 11-05-2010, 04:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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

Last edited by Tinkster; 11-05-2010 at 04:05 PM. Reason: edit
 
Old 11-08-2010, 04:34 AM   #3
smitakamdar
LQ Newbie
 
Registered: Oct 2010
Posts: 9

Original Poster
Rep: Reputation: 0
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!
 
Old 11-08-2010, 04:36 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You will have to run configure script before doing the uninstallation.
 
Old 11-08-2010, 08:48 AM   #5
smitakamdar
LQ Newbie
 
Registered: Oct 2010
Posts: 9

Original Poster
Rep: Reputation: 0
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!
 
Old 11-08-2010, 11:36 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
These are part of the OSes SELinux policy, and not of postgres.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to uninstall Postgresql on red hat linux? ranjitsinh Linux - General 1 08-03-2007 03:25 AM
Uninstall postgresQL and PHP vickr1z Linux - Newbie 1 09-14-2004 06:39 PM
PostgreSQL Uninstall shaggystyle Linux - Newbie 4 12-20-2003 05:32 PM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration