In Ubuntu 14.04, PostgreSQL repository isn't listed by default. We must add the record first.
For client tools we can install postgresql-client
- Run
$ nano /etc/apt/sources.list.d/pgdg.listto add repository list file - Add
deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg mainin the file - Run
$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
sudo apt-key add - - Run
$ sudo apt-get updatethen$ sudo apt-get install postgresql-9.4
$ sudo apt-get install pgadmin3For client tools we can install postgresql-client
$ sudo apt-get install postgresql-client
Comments
Post a Comment