Nightmares trying to get Postgresql 10 on ubuntu-14.04

I had some problems installing the postgres cliwnt on Ubuntu. Doesn’t sound like the same problem, but here’s a link if it helps Basic Database example (not ruby)