第一步:安装mwget
wget http://jaist.dl.sourceforge.net/project/kmphpfm/mwget/0.1/mwget_0.1.0.orig.tar.bz2
第二步:解压
tar -jxvf mwget_0.1.0.orig.tar.bz2
如果报错,需要安装bzip2
yum install bzip2
如果还是报错,尝试换个命令:
tar -xvf mwget_0.1.0.orig.tar.bz2
解压成功后,进入文件夹:
cd mwget_0.1.0.orig
第三步:执行./configure
./configure
如果出现 error: C++ compiler cannot create executables 说明没有安装c++编译器 安装一个c++编译器就可以了
yum install gcc-c++
如果出现缺失open-ssl,安装一个即可
yum install openssl-devel
如果执行./configure 出现 configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
需要安装0.35.0以上的版本
yum install intltool
第四部:最后的安装
make
make install
搞定,以后直接用mwget命令代替wget命令,速度提升太明显了。