install postgresql on debian 8
Installing postgresql should be easy right? Yes it is:
sudo apt-get install postgresql postgresql-client
sudo su - postgres
Of course there's more to nice setup than this, but I just needed to quickly get a shell for trying some queries.
sources: