红联Linux门户
Linux帮助

ubuntu上安装最新的postgresql 9.6版本

发布时间:2016-12-02 10:46:54来源:linux网站作者:若闻
postgresql 9.6发布了,使用Ubuntu 16.04、Ubuntu 14.04或Ubuntu 12.04用户可以按下面最简单的方法安装postgresql 9.6。
 
For any Ubuntu version you need to can do this by the official PostgreSQL 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
 
本文永久更新地址:http://www.linuxdiyf.com/linux/26505.html