How to Install PostgreSQL 9.2 on Ubuntu 13.04 Raring Ringtail

Hello Linux and Unix Geeksters.

Watch Free Movies

In this article I will show you how to install PostgreSQL 9.2 on Ubuntu 13.04 Raring Ringtail.

Because there are no PostgreSQL packages for Ubuntu 13.04 Raring Ringtail yet, we will use the files for Ubuntu 12.04 Precise Pangolin.

Follow this steps for a successful installation:

Step 1. Install some dependencies:

$ sudo apt-get install libpq-dev libpq5

Step 2. Add the repo:

$ sudo su
# echo 'deb precise-pgdg main' >> /etc/apt/sources.list.d/pgdg.list

Step 3. Add the key:

# wget --quiet -O - | apt-key add -

Step 4. Upgrade (thank you for the help Laurent):

$ sudo apt-get update

Step 5. Install PostgreSQL:

$ sudo apt-get -t raring install postgresql-common -t raring postgresql-9.2 postgresql-client-9.2

Scroll to Top