Installing PostgreSQL Client v10 on AWS Amazon Linux (EC2) AMI

前端 未结 11 990
臣服心动
臣服心动 2021-01-30 21:12

I have successfully launched new AWS RDS PostgreSQL v10 instance and need to install PostgreSQL v10 client on Amazon Linux EC2 instance.

I have tried to install

11条回答
  •  逝去的感伤
    2021-01-30 21:47

    This my 2019 solution:

    Just do

     sudo amazon-linux-extras install postgresql9.6
    

    You should not have to download it from any outside source, since it is already given to you by default from Amazon, all you have to do is install it.

    The other solutions didnt work for me and I spent a good amount time banging my head against the wall trying to figure out why.

    And surprisingly even though you install psql9.6 you get version 10.

提交回复
热议问题