CentOS 6.5安裝aria2 由於yum install aria2無法找到安裝包,試了好幾個源,都找不到,於是自己找了一些地址: 1、下載安裝包: # wget http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmf ...
CentOS 6.5安裝aria2
由於yum install aria2無法找到安裝包,試了好幾個源,都找不到,於是自己找了一些地址:
1、下載安裝包:
# wget http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/aria2-1.16.4-1.el6.rf.x86_64.rpm
# wget http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/nettle-2.2-1.el6.rf.x86_64.rpm
# wget http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/nettle-devel-2.2-1.el6.rf.x86_64.rpm
2、安裝
安裝aria2時會提示
error: Failed dependencies:
libnettle.so.4()(64bit) is needed by aria2-1.16.4-1.el6.rf.x86_64
所以,需要先安裝nettle-2.2.1,依次執行以下安裝命令即可:
# rpm -ivh nettle-2.2-1.el6.rf.x86_64.rpm
# rpm -ivh nettle-devel-2.2-1.el6.rf.x86_64.rpm
# rpm -ivh aria2-1.16.4-1.el6.rf.x86_64.rpm
3、測試(下載百度首頁)
# aria2c http://www.baidu.com
原文鏈接:https://www.ssite.cn/2017/05/23/centos-6-5%E5%AE%89%E8%A3%85aria2/