Skip to content

Commit

Permalink
Fixed installation comments with review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
CatFish47 committed May 6, 2023
1 parent 534e545 commit 377dec7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Setup a virtual environment in conda named `qiita` by executing the following:

```bash
conda config --add channels conda-forge
conda create -q --yes -n qiita python=3.9 pip libgfortran numpy nginx
conda create -q --yes -n qiita python=3.9 pip libgfortran numpy nginx cython redis
```

### Brief introduction to managing conda environments
Expand Down Expand Up @@ -101,7 +101,7 @@ sudo service postgresql start
```
### PostgreSQL installation on Mac OS X

For Mac OS X, you can install postgres through the [Postgres.app](https://postgresapp.com/downloads.html). These instructions were tested with the Postgres.app v9.5 and v13.
For Mac OS X, it is strongly encourage to install Postgres through the [Postgres.app](https://postgresapp.com/downloads.html). We recommend using Postgres.app versions 9.5 or 13, as instructions were tested most extensively with these versions.

You'll then need to ensure that the postgres binaries (for example, ``psql``) are in your executable search path (``$PATH`` environment variable). If you are using Postgres.app on OS X, you can do this by running the following, though you may have to replace`~/.bash_profile`with `~/.zshrc` if you're using zshell rather than the built-in bash, and you may have to change the version number `Versions/9.3/` to the exact one that you are installing:

Expand Down Expand Up @@ -338,10 +338,7 @@ sudo apt-get install postgresql-contrib

#### `no such file or directory` or `fatal error: file not found`

M1 and M2 macs have a new feature for homebrew where homebrew is not installed to the path `usr/local/bin` like Intel Macs are, but to `opt/homebrew/bin`. Since some old code likely hasn't been updated yet, this error could possibly be from the code looking into the old Intel Mac path. Make that homebrew libraries are being searched for in the `opt/homebrew/lib` path.

More information on this error can be found [here](https://earthly.dev/blog/homebrew-on-m1/).

M1 and M2 macs have a new feature where homebrew is not installed to the path `usr/local/bin` like Intel Macs are, but to `opt/homebrew/bin`. This is because of reasons including security concerns with the old path, potential conflicts with installing to `/usr/local/bin`, and the fact that other package managers have been using `/opt/<manager_name>` for a while now. To fix this, ensure that homebrew libraries are being searched for in the `opt/homebrew/lib` path.

## General Troubleshooting

Expand Down

0 comments on commit 377dec7

Please sign in to comment.