Muhammad Imran Tariq asked:
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?
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.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.