Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

How to install postgresql on Debian Unstable (Sid)

Install postgresql

Installing postgresql package on Debian Unstable (Sid) is as easy as running the following command on terminal:

sudo apt-get update
sudo apt-get install postgresql

postgresql package information

distro Debian Unstable (Sid)
section Main
name postgresql
version 9.5+173
description object-relational SQL database (supported version)
subsection database
maintainer Debian PostgreSQL Maintainers

Uninstall postgresql

To remove just postgresql package itself from Debian Unstable (Sid) execute on terminal:

sudo apt-get remove postgresql

Uninstall postgresql and it’s dependent packages

To remove the postgresql package and any other dependant package which are no longer needed from Debian Sid.

sudo apt-get remove --auto-remove postgresql

Purging postgresql

If you also want to delete configuration and/or data files of postgresql from Debian Sid then this will work:

sudo apt-get purge postgresql

To delete configuration and/or data files of postgresql and it’s dependencies from Debian Sid then execute:

sudo apt-get purge --auto-remove postgresql