<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Uninstall &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/uninstall/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Sun, 02 Jul 2017 17:05:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>PostgreSQL: How to uninstall PostgreSQL 9.6 from Ubuntu</title>
		<link>https://www.dbrnd.com/2017/07/postgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge/</link>
					<comments>https://www.dbrnd.com/2017/07/postgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Fri, 14 Jul 2017 16:16:52 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL 9.6]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[Uninstall]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5607</guid>

					<description><![CDATA[In this post, I am sharing necessary steps to remove or uninstall PostgreSQL 9.6 from Ubuntu OS. Yesterday, I was testing a few latest extensions in my PostgreSQL test server, and unfortunately, PostgreSQL Server corrupted. As this is my test server, so simply I uninstalled full setup and again installed it. PostgreSQL: How to Install [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&amp;linkname=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fpostgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge%2F&#038;title=PostgreSQL%3A%20How%20to%20uninstall%20PostgreSQL%209.6%20from%20Ubuntu" data-a2a-url="https://www.dbrnd.com/2017/07/postgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge/" data-a2a-title="PostgreSQL: How to uninstall PostgreSQL 9.6 from Ubuntu"></a></p><p>In this post, I am sharing necessary steps to remove or uninstall PostgreSQL 9.6 from Ubuntu OS. Yesterday, I was testing a few latest extensions in my PostgreSQL test server, and unfortunately, PostgreSQL Server corrupted. </p>
<p>As this is my test server, so simply I uninstalled full setup and again installed it. </p>
<blockquote data-secret="ziXVyisNNU" class="wp-embedded-content"><p><a href="https://www.dbrnd.com/2017/01/postgresql-how-to-install-postgresql-9-6-on-ubuntu-16-04/">PostgreSQL: How to Install PostgreSQL 9.6 on Ubuntu 16.04?</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2017/01/postgresql-how-to-install-postgresql-9-6-on-ubuntu-16-04/embed/#?secret=ziXVyisNNU" data-secret="ziXVyisNNU" width="600" height="338" title="&#8220;PostgreSQL: How to Install PostgreSQL 9.6 on Ubuntu 16.04?&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><strong>Please check below commands which I applied to uninstalled PostgreSQL:</strong></p>
<p><strong>First check Postgres related folders:</strong></p>
<pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ dpkg -l | grep postgres</pre> </p>
<p><strong>Result:</strong> </p>
<pre class="crayon-plain-tag">ii  pgdg-keyring               2014.1                  all     keyring for apt.postgresql.org
ii  postgresql-9.6             9.6.1-2.pgdg14.04+1     amd64   object-relational SQL database, version 9.6 server
ii  postgresql-client-9.6      9.6.1-2.pgdg14.04+1     amd64   front-end programs for PostgreSQL 9.6
ii  postgresql-client-common   178.pgdg14.04+1         all     manager for multiple PostgreSQL client versions
ii  postgresql-common          178.pgdg14.04+1         all     PostgreSQL database-cluster manager
ii  postgresql-contrib-9.6     9.6.1-2.pgdg14.04+1     amd64   additional facilities for PostgreSQL</pre> </p>
<p><strong>Command to remove few postgres folders:</strong></p>
<pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ sudo apt-get --purge remove postgresql postgresql-doc</pre> </p>
<p><strong>Now check again Postgres related folders:</strong></p><pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ dpkg -l | grep postgres</pre><p> </p>
<p><strong>Result:</strong></p><pre class="crayon-plain-tag">ii  pgdg-keyring              2014.1                all    keyring for apt.postgresql.org
ii  postgresql-client-9.6     9.6.1-2.pgdg14.04+1   amd64  front-end programs for PostgreSQL 9.6
ii  postgresql-client-common  178.pgdg14.04+1       all    manager for multiple PostgreSQL client versions</pre><p>
<p><strong>Now remove all other pending folders:</strong></p>
<pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ sudo apt-get --purge remove postgresql postgresql-client-9.6 postgresql-common pgdg-keyring</pre> </p>
<p><strong>Now PostgreSQL is uninstalled so confirmt that PSQL is running or not:</strong></p>
<pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ psql
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common</pre> </p>
<p><strong>Now check the Postgres service status:</strong></p>
<pre class="crayon-plain-tag">ubuntu@ip:~/anvesh$ sudo service postgresql status
● postgresql.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2017/07/postgresql-how-to-uninstall-postgresql-9-6-from-ubuntu-remove-purge/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
