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?