ubuntu 上安装最新的postgresql 9.6版本

前端之家收集整理的这篇文章主要介绍了ubuntu 上安装最新的postgresql 9.6版本前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

For any Ubuntu version you need to can do this by the officialPostgreSQL Apt Repository.

Ubuntu Xenial (16.04)

sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main"
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.6

Ubuntu Trusty (14.04)

sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main"
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.6

Ubuntu Precise (12.04)

sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main"
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.6
原文链接:https://www.f2er.com/ubuntu/355708.html

猜你在找的Ubuntu相关文章