{fbmip:fixed type="top" id="mipfixed" dataSlide="header-fixed-slide" class="fb-header-fixed"}
{fbview:mainmenu menuItemCode='$menuItemCode'/}
{/fbmip:fixed}
{fbmip:img fit='cover' src="$banner2['img_url']" alt="$banner2['title']"/}

CentOS6.9下安装Aria2

  • 发布时间:
  • 浏览:692
  • 来源:平步科技官网

Aria2是优秀的Linux下的 Bt下载工具。


准备GCC 环境

首先安装GCC,版本不要太低,安装方法可见相关文章


安装必要的依赖

yum install bison libssh2-devel expat-devel gmp-devel nettle-devel libuv-devel libssh2-devel zlib-devel c-ares-devel cppunit-devel gnutls-devel libgcrypt-devel libxml2-devel sqlite-devel gettext xz-devel gperftools gperftools-devel gperftools-libs jemalloc-devel


开始安装Aria2

Aria2官网下载最新的Aria2源代码压缩包文件

wget  https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0.tar.gz

tar zxvf aria2-1.34.0.tar.gz

cd aria2-1.34.0

./configure --prefix=/work/apps/aria2  --enable-FEATURE --enable-threads=posix --enable-static=yes --enable-shared=no  --with-jemalloc ARIA2_STATIC=yes

make

make install