简介
wget和mwget是Linux系统下的下载工具软件。
前者是单线程下载,后者是多线程下载。因此后者的效率更高(占用的带宽资源当然也多~)。
环境
centos7.4
安装
wget
可以使用yum工具直接安装:yum install -y wget
CentOS wget 使用技巧看这位老兄的博客:
https://www.cnblogs.com/liaojie970/p/5939605.html
mwget
下载源码:mwget_0.1.0.orig.tar.bz2
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
如果执行./configure 出现:error: C++ compiler cannot create executables
yum install gcc-c++
如果执行./configure 出现 :configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
yum install intltool 需要安装0.35.0以上的版本
make
make install
使用下载
mwget url_to_what_you_want_to_download