wget转换成多线程mwget

linux中的wget是一个常用的下载命令,但它是单线程的场景
使用 wget 和 mwget 进行下载测试,各测试了5次,从平均结果看,mwget 的确更快,较wget快了3倍左右



安装过程

# wget http://jaist.dl.sourceforge.net/project/kmphpfm/mwget/0.1/mwget_0.1.0.orig.tar.bz2
# tar -xjvf mwget_0.1.0.orig.tar.bz2
# cd mwget_0.1.0.orig
# ./configure
# make
# make install



错误集合

1.一般在tar解压安装环境的时候,执行make时出现这种错误

  原因    I. 没有执行 ./configure  所以没能生成makefile
         II. 执行 ./configure 时出错 如  ./configure: line 2370: config.log: Permission denied
        III. 即是 config.log的访问权限被拒绝

   解决方法: sudo chmod 777 文件名, sudo ./configure

2.执行./configure   时的状况

①error: C++ compiler cannot create executables 说明没有安装c++编译器 
yum install gcc-c++

②error: Your intltool is too old.  You need intltool 0.35.0 or later.  说明intltool太老了
yum install intltool



参考博客

https://cloud.tencent.com/developer/article/1083094
https://www.linuxidc.com/Linux/2019-09/160541.htm

posted @ 2020-12-07 00:34  加油酱  阅读(1195)  评论(0)    收藏  举报