I'm trying to figure out a way to install psql
on an AWS ec2 machine via a shell script. The machine will be spun up every hour, and it won't be the same one every time. What are the exact commands to install psql
? I've tried sudo apt-get install postgresql-client
but that didn't work. The error I got was: sudo: apt-get: command not found
.
Asked
Active
Viewed 16 times
0
simplycoding
- 2,256
- 8
- 34
- 70
-
You're installing it as usual depending on the operating system which you use. Which one it is? – kenorb Oct 12 '15 at 23:59
-
4Duplicate of: [Apt-Get in AWS EC2](http://stackoverflow.com/q/14045262/55075) – kenorb Oct 13 '15 at 00:08