Skip to content

Instantly share code, notes, and snippets.

@danish-rehman
Created January 8, 2015 18:46
Show Gist options
  • Select an option

  • Save danish-rehman/04f277c99cb3ab8a0550 to your computer and use it in GitHub Desktop.

Select an option

Save danish-rehman/04f277c99cb3ab8a0550 to your computer and use it in GitHub Desktop.
Compile and Run Legacy NTP
# Install dependency
>> sudo apt-get install libcap-dev
# Create directory for installed
>> mkdir /proj/USC558L/exp/drehman/usr
# Download the legacy ntp source code
>> wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p5.tar.gz
# Configure
>> ./configure --prefix=/proj/USC558L/exp/drehman/usr --sysconfdir=/proj/USC558L/exp/drehman/etc --enable-linuxcaps --with-binsubdir=sbin --with-lineeditlibs=readline
# Compile
>> make
# Install
>> make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment