How to install no-ip update client on Linux Mint?

How to install no-ip.com update client noip2 on Linux Mint 17?

First, install the noip2 client:

sudo su -
cd /usr/local/src
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar xzf noip-duc-linux.tar.gz
cd no-ip-2.1.9-1
make
make install

Then, generate the configuration file

noip2 -C

Last, make noip2 daemon run at reboot

crontab -e

Add this line to crontab:

@reboot /usr/local/bin/noip2

I’ve followed the instructions right up to ‘make install’ but then get the error:

gcc -Wall -g -Dlinux -DPREFIX=”/usr/local” noip2.c -o noip2
noip2.c:136:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>

               ^

compilation terminated.
make: *** [noip2] Error 1

I’m new to Linux running Linux Mint 17.1 Rebecca.
If you have a solution I’d appreciate the help.

Thanks.


You system may not have some packages, you may try to install them by

sudo apt-get install libc-dev g++ build-essential

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

3 comments:

Leave a Reply

Your email address will not be published. Required fields are marked *