Note: Should I download the docker desktop GUI? Or would that also might give me dependency conflicts later on. I still have not installed anything yet because I want to make sure on how to do it properly.ĭo you guys have any resources or could any of you guide me on how to properly install Docker and then use PostgreSQL running on a container?Īt the moment I have a Mac M1 (silicon chip) Monterrey Version 12.4Īlso if anyone could give me tips on what works best (in the long run) would be good, especially if you are using a mac m1 (what has worked best for you). So a few suggested to use Docker instead. After giving it some thought and asking here a few months ago I do not want to install PostgreSQL directly on my computer or via Homebrew because I do not want to have dependency conflicts later on. I now have a macbook pro M1 and want to start learning how to use PostgreSQL. Gem install pg -v 1.2.3 -with-pg_config=/usr/local/Cellar/postgresql/13.3/bin/pg_config -with-pq-dir=/usr/local/Cellar/libpq/13.I have used MySQL previously by installing the GUI directly on my computer. # brew install -build-from-source postgresqlīrow install -build-from-source postgresql # You can try to install from source with: # Error: postgresql: no bottle available! Installed pg successfully with Ruby 2.6 too. noĬhecking for PQconnectdb() in -lms/libpq. Using config values from /opt/homebrew/bin/pg_configĬhecking for PQconnectdb() in -llibpq. ❯ gem install pg -v 1.2.3 -with-pq-dir=/usr/local/Cellar/libpq/13.3īuilding native extensions with: '-with-pq-dir=/usr/local/Cellar/libpq/13.3'ĭone installing documentation for pg after 0 secondsīut failed with Ruby 2.6, I don't know why gem install pg -v 1.2.3 -with-pq-dir=/usr/local/Cellar/libpq/13.3Ĭurrent directory: /Users/felix/.rvm/gems/ruby-2.6.6/gems/pg-1.2.3/ext Homebrew/homebrew-cask (git revision 2ab51af9c3 last commit ) Homebrew/homebrew-core (git revision ec99d74792c last commit ) ❯ brew install PostgreSQL # Install arm64 PostgreSQLĥ01 23655 1 0 2:29PM ? 0:00.10 /opt/homebrew/opt/postgresql/bin/postgres -D /opt/homebrew/var/postgres Since pg must be compiled with x86 libpq, so I installed libpq with x86 brewīrow: aliased to arch -x86_64 /usr/local/Homebrew/bin/brew
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |