CentOS6 安装 aria2

本文详细介绍了在CentOS6系统中安装aria2的方法,包括通过YUM源安装以及从源码编译安装两种方式。首先,需要安装RepoForgeRepos,然后使用YUM命令进行安装。此外,还提供了从源码编译安装的步骤,涉及下载源码包、配置、编译和安装等过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


CentOS6 安装 aria2

https://www.jianshu.com/p/31ea7aba5524
http://blog.51cto.com/skypegnu1/1637168

1、先安装 RepoForge Repos  http://repoforge.org/use/
2、yum -y install aria2

wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum -y install aria2

安装方法

yum install -y clang
wget https://copr.fedoraproject.org/coprs/rhscl/devtoolset-3/repo/epel-6/rhscl-devtoolset-3-epel-6.repo -O /etc/yum.repos.d/rhscl-devtoolset-3-epel-6.repo
yum install -y devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-binutils devtoolset-3-gcc-gfortran
 #启用SCL环境中新版本GCC
scl enable devtoolset-3 bash

wget https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0.tar.gz
tar xzvf aria2-1.34.0.tar.gz
cd aria2-1.34.0
./configure
make
make install

./configure \
    --prefix=/usr/local/aria2 \
    --enable-FEATURE \
    --enable-threads=posix \
    --with-tcmalloc 
make && make install


aria2c --version

 

转载于:https://www.cnblogs.com/yisuo/p/9615503.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值