赞
踩
yum install gcc gcc-c++ openssl-devel
# git clone https://github.com/rayylee/mwget.git
# cd wget
# ./configure
# make && make install
# mwget -v
Mwget Version 0.2.0
Machine Information of Mwget:
Built time on: 2023-02-16 22:03:32
C Compiler Version: "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)"
C++ Compiler Version: "c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)"
Built host type: "GNU/Linux x86_64"
看见以上既是安装完成
#运行./configure时报错:
./configure: line 6865: intltool-update: command not found
checking for intltool >= 0.35.0... found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
#解决
# yum -y install intltool
# 安装完成后重新编译即可
# mwget [URL] // 默认开4个线程
# mwget -n 10 [URL] // 10个线程下载
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。