...
Homebrew offers several alternatives alternative methods of installation. The most relevant are the instructions labeled "Untar Anywhere" found on the official documentation page. Here's is a complete script for installing and running homebrew inside your user's home directory where you don't need EP.
...
With homebrew installed, you can install Java with just a couple commands.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# use homebrew to install Java brew install java # add Java to your PATH environmental variable, so your terminal knows where to find Java echo 'export PATH="/Users/username/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc # if you are using zsh echo 'export PATH="/Users/username/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc # if you are using bash # you can test that it works with the following java --version |
You With homebrew installed, you can install and run PostgreSQL without EP using homebrew. You can read the documentation on that approach here: https://wiki.postgresql.org/wiki/Homebrew. The code for that is below
...