osx 10.13没有ftp的安装方法

转载自

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


下载好直接编译就行了。编译好了可以直接复制到10.13的电脑就行了。

不需要添加环境变量自动识别。



 

I looked at the solution proposed by @John Daniel - https://forums.developer.apple.com/message/235897#235897, and found that the inetutils gnu package contains many client and server applications. I have even noticed that many are already installed in the High Sierra. As I ldn't like to overwrite applications that are already come in OS X, I selected what to install, in my case, ftp and telnet clients. Here is a step-by-step guide:

 

 

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.


 

I looked at the solution proposed by @John Daniel - https://forums.developer.apple.com/message/235897#235897, and found that the inetutils gnu package contains many client and server applications. I have even noticed that many are already installed in the High Sierra. As I ldn't like to overwrite applications that are already come in OS X, I selected what to install, in my case, ftp and telnet clients. Here is a step-by-step guide:

 

 

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.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值