Skip to content

Instantly share code, notes, and snippets.

@wichopy
Created July 31, 2019 03:51
Show Gist options
  • Save wichopy/315c76626dd405340de3cd3aefb66310 to your computer and use it in GitHub Desktop.
Save wichopy/315c76626dd405340de3cd3aefb66310 to your computer and use it in GitHub Desktop.
brew installing my trace route (MTR) and manually sym linking
# Brew cannot sym link this app on its own due to permissions, this is how to do it manually:
brew install mtr
# brew link mtr // will return error
# sudo brew link mtr // will return warning about how its dangerous to run brew in sudo
# Manually sym link the path to your mtr install to your local bin folder.
# Check the version by going to /usr/local/Cellar/mtr
sudo ln -s /usr/local/Cellar/mtr/0.92/sbin/mtr /usr/local/bin/mtr
# To uninstall:
unlink /usr/local/Cellar/mtr/0.92/sbin/mtr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment