2018-03-20 macOS
Removing a symlink in terminal (both applicable to macOS and Linux) is exactly the same process as removing a regular file.
Open terminal, locate the symlink and use rm to remove it.
For example
rm /usr/local/bin/phing
You’re done.