> lastly you might as well update bash with the command: source. Once you've inserted the path simply press the Key: Enter to save and Control + X to exit.bash_profile -> Now at this screen paste: export PATH=/usr/local/bin:/usr/local/sbin:$PATH bash_profile which creates the empty file. Open Terminal.app -> when prompted run: cd ~ to get to your home directory although you should be there.If you need to create the file you can do so with terminal.app or even textedit but i would suggest terminal. No path or no ~/.bash_profile: If you have no Path, open or create the file and input the following line: export PATH=/usr/local/bin:/usr/local/sbin:$PATH To make things as simple as possible and fix your problem, locate ~/.bash_profile and: Edit your ~/.bash_profile to satisfy both homebrew and clamxav. It is possible that none of these files exists in which case homebrew will complain when you run command brew doctor that /usr/local/bin is not ahead of /usr/bin/. MOST of the time your path is normally set in ~/.bash_profile so check that file first and if it's not in there but in another, change it over to ~/.bash_profile If the first one exists it grabs that path then it moves on to the next file to get more information and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |