What time is it? Redux


So, you're having problems with the Macosx bundled NTP and want to install your own? I've heard from a few people who have gotten to this point and are looking for a little help. So, here's a really quick and dirty set of instructions to download, compile, and install the latest production version of NTP on your Mac. These instructions assume you have already installed Xcode from the Mac App Store.

Open the Terminal App and execute these commands one at a time. Choose a starting directory in your home directory. You also need to be logged into an admin account so have the right privileges to install into /usr/local/bin at the end.

curl -o ntp-4.2.6p5.tar.gz http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p5.tar.gz
gunzip ntp-4.2.6p5.tar.gz 
tar xf ntp-4.2.6p5.tar 
cd ntp-4.2.6p5
./configure
make
sudo make install
ls -ltr /usr/local/bin/ntp*

The output of the ls command should be look something like this:

-rwxr-xr-x1 rootwheel622488 Feb8 16:53 /usr/local/bin/ntpd
-rwxr-xr-x1 rootwheel270660 Feb8 16:53 /usr/local/bin/ntpsnmpd
-rwxr-xr-x1 rootwheel266636 Feb8 16:53 /usr/local/bin/ntpq
-rwxr-xr-x1 rootwheel266080 Feb8 16:53 /usr/local/bin/ntpdc
-rwxr-xr-x1 rootwheel124372 Feb8 16:53 /usr/local/bin/ntpdate
-rwxr-xr-x1 rootwheel171640 Feb8 16:53 /usr/local/bin/ntp-keygen
-rwxr-xr-x1 rootwheel2029 Feb 27 17:23 /usr/local/bin/ntptrace
-rwxr-xr-x1 rootwheel1394 Feb 27 17:23 /usr/local/bin/ntp-wait

Hope this helps.

8 Comments