Terminal not beeping on bell character
There are several ways to do this on Terminal, but first make sure that in Terminal preferences > Advanced you have ticked the Audible bell option, otherwise you won't hear anything.  Now you can do any of the following to get the bell:


$ echo ^G (hold down the ctrl key followed by V and then G to get ^G)
$ printf "\a" or $ printf \\a
$ echo -e "\a" or $ echo -e \\a
$ tput bel


FYI: the way you installed Yosemite, whether via Homebrew, Macports etc., shouldn't affect this issue.