Setup PostgreSQL in Ubuntu

PostgreSQL is a powerful, open source object-relational database system. Install PostgreSQL 1. From PPA (Recommended) Create a file /etc/apt/sources.list.d/pgdg.list, and add following line for the repository # for ubuntu 16.04 users deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main # for ubuntu 15.10 users deb http://apt.postgresql.org/pub/repos/apt/ wily-pgdg main # for ubuntu 14.04 users deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main # for ubuntu 12.04 users deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main Import the repository signing key, and update the package lists ...

June 19, 2016 · 2 min · Sanjeev Kumar Pandit