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

前端 未结 11 1216
臣服心动
臣服心动 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:37

    The following works for psql v11 on Amazon Linux (v1)

    wget https://yum.postgresql.org/11/redhat/rhel-6.9-x86_64/postgresql11-libs-11.8-1PGDG.rhel6.x86_64.rpm
    wget https://yum.postgresql.org/11/redhat/rhel-6.9-x86_64/postgresql11-11.8-1PGDG.rhel6.x86_64.rpm
    
    sudo yum clean all
    sudo rpm -ivh postgresql11-libs-11.8-1PGDG.rhel6.x86_64.rpm
    sudo rpm -ivh postgresql11-11.8-1PGDG.rhel6.x86_64.rpm
    

提交回复
热议问题