0

I am installing psql on my AWS EMR (EC2 instance) which is Amazon Linux (not Amazon Linux 2).

I am getting an error after running the command

sudo yum install -y postgresql10

Error: Package: postgresql10-10.7-2PGDG.rhel7.x86_64 (pgdg10)
           Requires: systemd

Amazon Linux 2 comes with systemd but AWS EMR doesn't support Amazon Linux 2.

How can I install psql client on AWS EMR?

1 Answers1

0

You can't install these packages on Amazon Linux or on Amazon Linux 2. They are designed and built for CentOS/RHEL 7. Use those distributions instead.

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940