blob: ec829d83809d9404a14a006264b324ff2f75c529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PostgreSQL for Debian and Ubuntu Apt Repository
===============================================
This repository hosts PostgreSQL server and extension module packages, as well
as some client applications.
To use the repository, do the following:
Create /etc/apt/sources.list.d/pgdg.list. The distributions are called
codename-pgdg. In the example, replace "jessie" with the actual distribution
you are using:
deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main
(You may determine the codename of your distribution by running lsb_release -c.)
Import the repository key from https://www.postgresql.org/media/keys/ACCC4CF8.asc,
update the package lists, and start installing packages:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.5 pgadmin3
More information:
* https://wiki.postgresql.org/wiki/Apt
* https://wiki.postgresql.org/wiki/Apt/FAQ
|