I am a little confused here. I have git installed via homebrew but I'm not 100% sure if the git I am using
in the terminal is the git I have installed via homebrew. In fact this goes for all packages which I have installed via homebrew.
Looking at the below sequence of commands, do I need to add anything extra to $PATH? For instance, should I be adding my brew cellar?
thanks Michelle
---------- Post updated at 10:28 ---------- Previous update was at 10:24 ----------
...hold on from the below code it is evident that the git I am using is definitely the one I installed from homebrew:-
Then I have two remaining questions:
(1) why is whichpostgresql [readline etc] not returning anything?
(2) how does my system know to look in homebrew's cellar (as it does with git) if there is nothing relating to homebrew in $PATH?
Thanks, Michelle
Last edited by michellepace; 06-25-2011 at 05:42 AM..
Reason: wrapping... not wrapping. make it wrap.
I don't have HOMEBREW installed but to answer your first question, postgresql is not in your path. Try the following :
I'm guessing that the files in /usr/local/Cellar are directories and however HOMEBREW installs it should put executables or symlinks in /usr/local/bin.
Hi xbin, thanks for your reply. Below is the output from that command. So from memory all the pink ones with "lrwxr-.." are symbolic links(?)
Looking at the above I found that I was just typing in the wrong name... the symbolic link for postgresql is just postgres
thanks! Michelle
Hello,
I installed the package manager called homebrew a few days ago. Everything seems to be working fine but today I've just noticed this funny looking directory $(brew --prefix). I'm not sure if I made a mistake and duplicated this directory from somewhere else, or if it's suppose to be... (3 Replies)