Home > Back-end >  Specific PostgresSql version installation in Mac
Specific PostgresSql version installation in Mac

Time:02-03

I want to install PostgreSql 11.17 in MAC for my work. But I am seeing PostgreSql 11.18 available here - https://www.enterprisedb.com/downloads/postgres-postgresql-downloads . How can I install 11.17 version specific?

I got source files - https://www.postgresql.org/ftp/source/v11.17/ , but don't know which one to install.

CodePudding user response:

To install a specific version, e.g. postgresql 11.17 you simply run:

brew install [email protected]

CodePudding user response:

You can install version 11.17 by following these steps:

  1. extract the files.
  2. Change to the extracted folder's directory: cd postgresql-11.17
  3. Build configuration: ./configure
  4. Compile the source code as follows: make
  5. Install PostgreSQL: sudo make install
  • Related