HomeTroubleshootingNetwork troubleshootingHow to Install MTR on Mac

3.4. How to Install MTR on Mac

 

How to Install MTR on Mac

 

1. Double-click on the file in Finder.

2. Open Terminal (under Utilities) and type the following in your terminal session:

(be sure to adjust file or folder names from the example below to match your specific environment). If the file is in your ~Downloads folder for example the procedure is as follows:

 

cd Downloads

cd mtr-0.81

export LIBS='-lm -ltermcap -lresolv'

./configure

make

sudo make install

alias mtr=/usr/local/sbin/mtr

 

To permanently save the alias, run this:

open ~/.bash_profile

add to the .bash_profile:

alias mtr=/usr/local/sbin/mtr

 

You should now be able to run the mtr test as described above.

 

Knowledge Tags

This page was: Helpful | Not Helpful