DEV Community

How to install PostgreSQL from binaries on Mac OS X Catalina

lovenic on March 28, 2020

Evening people. There are millions ways of installing RDBMS like PostgreSQL on your laptop in 2k20. Some of them require just a few hits on your k...
Collapse
 
osazemeu profile image
Osazeme Usen • Edited

Thank you so much for sharing. This article just saved my life. I needed to work with an obscure db version that didn't have an easy installer. This article did the trick.

If you need uuid support on Mac, you need to build with e2fs

brew install e2fsprogs

./configure --with-openssl --with-includes=/usr/local/opt/openssl@1.1/include --with-libraries=/usr/local/opt/openssl@1.1/lib --with-uuid=e2fs

Collapse
 
lovenic profile image
lovenic

Guys, it's not worth it. Use brew please.

Collapse
 
bennami profile image
imane

well, i landed here because the brew alternative doesnt do it for me. sure i get postgres installed and all, but when trying to install psycopg2-binary inside a pycharm environment for django i get a massive error which i am not able to solve. so just saying 'use brew' doesnt help much either