Ubuntu安装Postgresql 10.0

亲测可用:

sudo vim /etc/apt/sources.list.d/pgdg.list

 

ubuntu: 14.04:
deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main

ubuntu: 16.04:
deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main

ubuntuL 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 update



sudo apt install postgresql-10

 

原文:https://blog.csdn.net/cow66/article/details/81165628

转载于:https://my.oschina.net/u/2342726/blog/3052924

你可能感兴趣的:(Ubuntu安装Postgresql 10.0)