Default password for my user in postgresql

As per tadman’s comment, Homebrew postgres currently creates an account with the same name as the installing user, but no password. E.g. after my initial install (username david): $ psql postgres psql (12.2) Type “help” for help. postgres=# \du List of roles Role name | Attributes | Member of ———–+————————————————————+———– david | Superuser, Create role, … Read more

Brew doctor: dyld: Library not loaded & Error: No available formula for zlib

Try to re-install libtool by: brew reinstall libtool –universal && brew unlink libtool && brew link libtool If that doesn’t help, try removing libtool completely, and then retry the steps above: brew uninstall libtool If it still doesn’t work after trying the steps above, check to see if you have the DYLD_FALLBACK_LIBRARY_PATH variable defined somewhere … Read more

Homebrew Mac Update Issues

According to https://github.com/Homebrew/brew#update-bug If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run cd $(brew –repo); git fetch; git reset –hard origin/master; brew update

override git from Xcode with homebrew version

Xcode is actually using the GIT that is stored in /Applications/Xcode.app/Contents/Developer/usr/bin. The same version of GIT gets installed in /usr/bin when you installed the command line tools as part of Xcode installation. So, you won’t be able to change what Xcode is using (unless you are willing to muck with the contents of the Xcode … Read more

Homebrew error occurred when I command “brew cask install virtualbox” or “brew cask search google-chrome”

The homebrew-cask repository has moved. Did you try: brew tap caskroom/cask brew install brew-cask brew cask install virtualbox instead of phinz? Update: As Jon Nalley points out, brew install brew-cask is now deprecated: Important December 2015 update: Homebrew-Cask will now be kept up to date together with Homebrew (see #15381 for details). If you haven’t … Read more

Upgrading rsync on OS X using Homebrew

Follow the instructions here: brew tap homebrew/dupes brew install rsync And then edit /private/etc/paths to put /usr/local/bin before /usr/bin. Edit: Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated. So, only brew install rsync is enough.