I need to install a postgres 9.6.6 on Ubuntu 14.04, but the command
apt-get install postgresql-9.6
installes 9.6.7.
How can I install 9.6.6?
An output of command
apt-cache policy postgresql-9.6
is
postgresql-9.6:
Installed: 9.6.7-1.pgdg14.04+1
Candidate: 9.6.7-1.pgdg14.04+1
Version table:
*** 9.6.7-1.pgdg14.04+1 0
500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64 Packages
100 /var/lib/dpkg/status
You can install a specific version using the PostgreSQL Development Group maintained repo.
For Ubuntu 18.04
deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
After this, you can now do: sudo apt-get install postgresql-10
or adapt it for your desired version. See more here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With