source:https://forums.developer.apple.com/thread/91472


1 - It is required that you have XCODE installed and configured to be able to compile the packages. Access the terminal / shell

 

 

2 - Download the latest version of the inetutils package, in my case inetutils-1.9.4, at:

 

 

http://ftp.gnu.org/gnu/inetutils/

 

 

3 - Unpack with:

 

 

  tar xvjf inetutils-1.9.4.tar.gz

 

 

4 - Enter the inetutils-1.9.4 folder with:

 

 

  cd inetutils-1.9.4

5 - Configure the package with the following:

 

 

./configure --disable-servers --disable-dnsdomainname --disable-hostname --disable-ping --disable-ping6 --disable-rcp --disable-rexec --disable-rlogin --disable-rsh --disable-logger --disable-talk --disable-tftp --disable-whois --disable-ifconfig --disable-traceroute

 

 

6 - To compile execute:

 

 

make

 

 

7 - For the installation I ddin't use make install, I preferred to copy only the necessary files to /usr/local/bin/ , as below:

 

 

sudo cp telnet/telnet /usr/local/bin/

sudo cp ftp/ftp /usr/local/bin/

 

 

8 - Now just test and use and be happy.



inetutile-1.9.4.tar download url:http://down.51cto.com/data/2340654