Comments on How to Install PostgreSQL 9.5 on Ubuntu (12.04 - 15.10)
This tutorial shows the installation of the latest PostgreSQL 9.5 version on Ubuntu. We will use the official repository from postgresql.org, so you can update your server easily in future and get direct updates and patches from the database vendor. The steps have been tested with Ubuntu versions from 12.04 until 15.10.
5 Comment(s)
Comments
When including the ppa in the ppa list (1st code block in your step-by-step description), the file to update is in reality:
/etc/apt/sources.list.d/ppdg.list
A typo in yr how-to made it "pgdg.list" instead.
Thanks! Works like a charm on 15.10 ; )
I wish all installations were this painless, thanks for putting this together!
I followed the same procedure , i am able to login to postgres server ,but after that it wont work for me. while typing psql , it is showing below error,
tiru@tiru-Vostro-3446:~$ sudo su - postgrespostgres@tiru-Vostro-3446:~$ psqlThe program 'psql' can be found in the following packages: * postgresql-client-common * postgres-xc-clientAsk your administrator to install one of thempostgres@tiru-Vostro-3446:
while trying to install above two packages it is asking for password,
Ask your administrator to install one of thempostgres@tiru-Vostro-3446:~$ sudo apt-get install postgres-xc-client[sudo] password for postgres:
what would be the password for this ? please help me it is urgent
You are using sudo for installation and it is asking passowrd for postgres user (System). Provide the postgres passowrd OR install packages using root.