Install Postgresql 9.4 on Ubuntu 18.04

Zufar Dhiyaulhaq

Im trying to install postgresql 9.4 (because of BDR support) on Ubuntu 18.04, and following this building tutorial.

but when im install some dependencies for postgres, its error

root@ubuntu:/home/ubuntu# sudo apt-get build-dep postgresql-9.4
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:postgresql-9.4 : Depends: openjade but it is not installable
                            Depends: docbook-dsssl but it is not installable
                            Depends: docbook-xml but it is not installable
                            Depends: docbook-xsl but it is not installable
                            Depends: docbook but it is not installable
                            Depends: opensp but it is not installable
E: Unable to correct problems, you have held broken packages.

its is possible to install postgresql 9.4 on ubuntu 18.04? thank you.

GHOST

Step 1: Add PostgreSQL Apt Repository

$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
$ wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -

Step 2: Install PostgreSQL

$ sudo apt-get update
$ sudo apt-get upgrade

$ sudo apt-get install postgresql postgresql-contrib libpq-dev pgadmin3

Step 3: Connecting to PostgreSQL

$ sudo su - postgres
$ psql

To list the databases type following command

postgres-# \l

credit digital ocean

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Since this morning the network is unreachable Ubuntu 18:04

From Dev

Ubuntu 18, unable to install xelatex

From Dev

how to install nmap in ubuntu 12;04

From Dev

how to install nmap in ubuntu 12;04

From Dev

ubuntu-minimal 18:04 how to login via ssh?

From Dev

how to install Odoo 9 on ubuntu?

From Java

How to Install pip for python 3.7 on Ubuntu 18?

From Dev

How to Install pip for python 3.7 on Ubuntu 18?

From Dev

Can't install Chrome on Ubuntu 18

From Dev

How to install PostgreSQL on Ubuntu 13.04?

From Dev

How to install PostgreSQL on Ubuntu 13.04?

From Dev

Unable to install postgresql 10 on ubuntu

From Dev

How do I install Muvizu on Ubuntu 14,04 LTS?

From Dev

ubuntu 18,04 stuck in read only mode and fsck doesn't fix it

From Dev

Unable to install java9 on ubuntu

From Dev

install gcc-9 on Ubuntu 18.04?

From Dev

Install libreoffice 4 in ubuntu 16.04

From Dev

Install ODBC connector for PostgreSQL on Ubuntu Server 12.04

From Dev

Unable to install postgreSQL 9.6 in Ubuntu 18.04

From Dev

Unable to install postgreSQL 9.6 in Ubuntu 18.04

From Dev

Upgrading Ubuntu with postgresql as snap vs apt install

From Dev

How to install postgresql-9.4 on Ubuntu 16.04?

From Dev

Unable to install postgresql 9.6 on Ubuntu 15.04

From Dev

Unable to install Postgresql-10 on Ubuntu 16.04?

From Dev

How to install PostgreSQL 9.5 in Ubuntu 18.04?

From Dev

Install ODBC connector for PostgreSQL on Ubuntu Server 12.04

From Dev

Virtual box not install on UBUNTU 16/18 with i686 cpu

From Dev

How to install libicui18n.so.58 on Ubuntu 18.04?

From Dev

How to install Oracle 18C XE package on Ubuntu 18.04

Related Related

HotTag

Archive