aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, SFTP, BitTorrent, and Metalink. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It supports downloading a file from HTTP(S)/FTP/SFTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP/SFTP is uploaded to the BitTorrent swarm. Using Metalink’s chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent.
The project page is located at https://aria2.github.io/.
Step 1:
yum install openssl-devel libssh2-devel c-ares-devel libxml2-devel zlib-devel libsqlite3x-devel pkgconfig cppunit-devel libtool autoconf automake
result:
[root@tutorialspots ~]# yum install openssl-devel libssh2-devel c-ares-devel libxml2- devel zlib-devel libsqlite3x-devel pkgconfig cppunit-devel libtool autoconf auto make Loaded plugins: fastestmirror base | 3.6 kB 00:00 epel/x86_64/metalink | 6.5 kB 00:00 epel | 4.7 kB 00:00 extras | 3.4 kB 00:00 mariadb | 2.9 kB 00:00 nginx | 2.9 kB 00:00 nodesource | 2.5 kB 00:00 remi | 2.9 kB 00:00 remi-php71 | 2.9 kB 00:00 remi-safe | 2.9 kB 00:00 updates | 3.4 kB 00:00 Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * epel: ftp.riken.jp * extras: ftp.iij.ad.jp * remi: mirrors.thzhost.com * remi-php71: mirrors.thzhost.com * remi-safe: mirrors.thzhost.com * updates: ftp.iij.ad.jp Package 1:pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.69-11.el7 will be installed --> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch ---> Package automake.noarch 0:1.13.4-3.el7 will be installed --> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el 7.noarch --> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7. noarch ---> Package c-ares-devel.x86_64 0:1.10.0-3.el7 will be installed --> Processing Dependency: c-ares = 1.10.0-3.el7 for package: c-ares-devel-1.10. 0-3.el7.x86_64 --> Processing Dependency: libcares.so.2()(64bit) for package: c-ares-devel-1.10 .0-3.el7.x86_64 ---> Package cppunit-devel.x86_64 0:1.12.1-11.el7 will be installed --> Processing Dependency: cppunit = 1.12.1-11.el7 for package: cppunit-devel-1. 12.1-11.el7.x86_64 --> Processing Dependency: libcppunit-1.12.so.1()(64bit) for package: cppunit-de vel-1.12.1-11.el7.x86_64 ---> Package libsqlite3x-devel.x86_64 0:20071018-20.el7 will be installed --> Processing Dependency: libsqlite3x = 20071018-20.el7 for package: libsqlite3 x-devel-20071018-20.el7.x86_64 --> Processing Dependency: pkgconfig(sqlite3) for package: libsqlite3x-devel-200 71018-20.el7.x86_64 --> Processing Dependency: sqlite-devel for package: libsqlite3x-devel-20071018- 20.el7.x86_64 --> Processing Dependency: libsqlite3x.so.1()(64bit) for package: libsqlite3x-de vel-20071018-20.el7.x86_64 ---> Package libssh2-devel.x86_64 0:1.4.3-10.el7_2.1 will be installed ---> Package libtool.x86_64 0:2.4.2-22.el7_3 will be installed ---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_2.3 will be installed --> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_2.3.x 86_64 ---> Package openssl-devel.x86_64 1:1.0.2k-8.el7 will be installed --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2 k-8.el7.x86_64 ---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed --> Running transaction check ---> Package c-ares.x86_64 0:1.10.0-3.el7 will be installed ---> Package cppunit.x86_64 0:1.12.1-11.el7 will be installed ---> Package krb5-devel.x86_64 0:1.15.1-8.el7 will be installed --> Processing Dependency: libkadm5(x86-64) = 1.15.1-8.el7 for package: krb5-dev el-1.15.1-8.el7.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-8.el7.x 86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-8.el7 .x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-8.el7 .x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-8. el7.x86_64 ---> Package libsqlite3x.x86_64 0:20071018-20.el7 will be installed ---> Package m4.x86_64 0:1.4.16-10.el7 will be installed ---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed ---> Package sqlite-devel.x86_64 0:3.7.17-8.el7 will be installed ---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed ---> Package libcom_err-devel.x86_64 0:1.42.9-10.el7 will be installed ---> Package libkadm5.x86_64 0:1.15.1-8.el7 will be installed ---> Package libselinux-devel.x86_64 0:2.5-11.el7 will be installed --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselin ux-devel-2.5-11.el7.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5 -11.el7.x86_64 --> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5- 11.el7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed --> Running transaction check ---> Package libsepol-devel.x86_64 0:2.5-6.el7 will be installed ---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: autoconf noarch 2.69-11.el7 base 701 k automake noarch 1.13.4-3.el7 base 679 k c-ares-devel x86_64 1.10.0-3.el7 base 72 k cppunit-devel x86_64 1.12.1-11.el7 base 63 k libsqlite3x-devel x86_64 20071018-20.el7 epel 123 k libssh2-devel x86_64 1.4.3-10.el7_2.1 base 54 k libtool x86_64 2.4.2-22.el7_3 base 588 k libxml2-devel x86_64 2.9.1-6.el7_2.3 base 1.0 M openssl-devel x86_64 1:1.0.2k-8.el7 base 1.5 M zlib-devel x86_64 1.2.7-17.el7 base 50 k Installing for dependencies: c-ares x86_64 1.10.0-3.el7 base 78 k cppunit x86_64 1.12.1-11.el7 base 152 k keyutils-libs-devel x86_64 1.5.8-3.el7 base 37 k krb5-devel x86_64 1.15.1-8.el7 base 266 k libcom_err-devel x86_64 1.42.9-10.el7 base 31 k libkadm5 x86_64 1.15.1-8.el7 base 174 k libselinux-devel x86_64 2.5-11.el7 base 186 k libsepol-devel x86_64 2.5-6.el7 base 74 k libsqlite3x x86_64 20071018-20.el7 epel 29 k libverto-devel x86_64 0.2.5-4.el7 base 12 k m4 x86_64 1.4.16-10.el7 base 256 k pcre-devel x86_64 8.32-17.el7 base 480 k perl-Test-Harness noarch 3.28-3.el7 base 302 k perl-Thread-Queue noarch 3.02-2.el7 base 17 k sqlite-devel x86_64 3.7.17-8.el7 base 104 k xz-devel x86_64 5.2.2-1.el7 base 46 k Transaction Summary ================================================================================ Install 10 Packages (+16 Dependent packages) Total download size: 7.0 M Installed size: 25 M Is this ok [y/d/N]: y Downloading packages: (1/26): c-ares-devel-1.10.0-3.el7.x86_64.rpm | 72 kB 00:00 (2/26): automake-1.13.4-3.el7.noarch.rpm | 679 kB 00:00 (3/26): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:02 (4/26): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm | 37 kB 00:00 (5/26): c-ares-1.10.0-3.el7.x86_64.rpm | 78 kB 00:02 (6/26): libcom_err-devel-1.42.9-10.el7.x86_64.rpm | 31 kB 00:00 (7/26): cppunit-devel-1.12.1-11.el7.x86_64.rpm | 63 kB 00:00 (8/26): cppunit-1.12.1-11.el7.x86_64.rpm | 152 kB 00:01 (9/26): libselinux-devel-2.5-11.el7.x86_64.rpm | 186 kB 00:00 (10/26): libsepol-devel-2.5-6.el7.x86_64.rpm | 74 kB 00:00 (11/26): krb5-devel-1.15.1-8.el7.x86_64.rpm | 266 kB 00:01 (12/26): libkadm5-1.15.1-8.el7.x86_64.rpm | 174 kB 00:01 (13/26): libsqlite3x-20071018-20.el7.x86_64.rpm | 29 kB 00:02 (14/26): libtool-2.4.2-22.el7_3.x86_64.rpm | 588 kB 00:00 (15/26): m4-1.4.16-10.el7.x86_64.rpm | 256 kB 00:00 (16/26): openssl-devel-1.0.2k-8.el7.x86_64.rpm | 1.5 MB 00:00 (17/26): libxml2-devel-2.9.1-6.el7_2.3.x86_64.rpm | 1.0 MB 00:00 (18/26): pcre-devel-8.32-17.el7.x86_64.rpm | 480 kB 00:00 (19/26): perl-Test-Harness-3.28-3.el7.noarch.rpm | 302 kB 00:00 (20/26): perl-Thread-Queue-3.02-2.el7.noarch.rpm | 17 kB 00:00 (21/26): xz-devel-5.2.2-1.el7.x86_64.rpm | 46 kB 00:00 (22/26): sqlite-devel-3.7.17-8.el7.x86_64.rpm | 104 kB 00:00 (23/26): zlib-devel-1.2.7-17.el7.x86_64.rpm | 50 kB 00:00 (24/26): libsqlite3x-devel-20071018-20.el7.x86_64.rpm | 123 kB 00:01 (25/26): libverto-devel-0.2.5-4.el7.x86_64.rpm | 12 kB 00:02 (26/26): libssh2-devel-1.4.3-10.el7_2.1.x86_64.rpm | 54 kB 00:02 -------------------------------------------------------------------------------- Total 770 kB/s | 7.0 MB 00:09 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : zlib-devel-1.2.7-17.el7.x86_64 1/26 Installing : cppunit-1.12.1-11.el7.x86_64 2/26 Installing : xz-devel-5.2.2-1.el7.x86_64 3/26 Installing : sqlite-devel-3.7.17-8.el7.x86_64 4/26 Installing : c-ares-1.10.0-3.el7.x86_64 5/26 Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 6/26 Installing : libsqlite3x-20071018-20.el7.x86_64 7/26 Installing : perl-Thread-Queue-3.02-2.el7.noarch 8/26 Installing : pcre-devel-8.32-17.el7.x86_64 9/26 Installing : libcom_err-devel-1.42.9-10.el7.x86_64 10/26 Installing : perl-Test-Harness-3.28-3.el7.noarch 11/26 Installing : libverto-devel-0.2.5-4.el7.x86_64 12/26 Installing : libkadm5-1.15.1-8.el7.x86_64 13/26 Installing : m4-1.4.16-10.el7.x86_64 14/26 Installing : autoconf-2.69-11.el7.noarch 15/26 Installing : automake-1.13.4-3.el7.noarch 16/26 Installing : libsepol-devel-2.5-6.el7.x86_64 17/26 Installing : libselinux-devel-2.5-11.el7.x86_64 18/26 Installing : krb5-devel-1.15.1-8.el7.x86_64 19/26 Installing : 1:openssl-devel-1.0.2k-8.el7.x86_64 20/26 Installing : libssh2-devel-1.4.3-10.el7_2.1.x86_64 21/26 Installing : libtool-2.4.2-22.el7_3.x86_64 22/26 Installing : cppunit-devel-1.12.1-11.el7.x86_64 23/26 Installing : libsqlite3x-devel-20071018-20.el7.x86_64 24/26 Installing : c-ares-devel-1.10.0-3.el7.x86_64 25/26 Installing : libxml2-devel-2.9.1-6.el7_2.3.x86_64 26/26 Verifying : zlib-devel-1.2.7-17.el7.x86_64 1/26 Verifying : libxml2-devel-2.9.1-6.el7_2.3.x86_64 2/26 Verifying : libsqlite3x-devel-20071018-20.el7.x86_64 3/26 Verifying : libsepol-devel-2.5-6.el7.x86_64 4/26 Verifying : automake-1.13.4-3.el7.noarch 5/26 Verifying : m4-1.4.16-10.el7.x86_64 6/26 Verifying : libkadm5-1.15.1-8.el7.x86_64 7/26 Verifying : libverto-devel-0.2.5-4.el7.x86_64 8/26 Verifying : perl-Test-Harness-3.28-3.el7.noarch 9/26 Verifying : libcom_err-devel-1.42.9-10.el7.x86_64 10/26 Verifying : pcre-devel-8.32-17.el7.x86_64 11/26 Verifying : perl-Thread-Queue-3.02-2.el7.noarch 12/26 Verifying : libsqlite3x-20071018-20.el7.x86_64 13/26 Verifying : keyutils-libs-devel-1.5.8-3.el7.x86_64 14/26 Verifying : c-ares-1.10.0-3.el7.x86_64 15/26 Verifying : 1:openssl-devel-1.0.2k-8.el7.x86_64 16/26 Verifying : libtool-2.4.2-22.el7_3.x86_64 17/26 Verifying : libselinux-devel-2.5-11.el7.x86_64 18/26 Verifying : sqlite-devel-3.7.17-8.el7.x86_64 19/26 Verifying : c-ares-devel-1.10.0-3.el7.x86_64 20/26 Verifying : xz-devel-5.2.2-1.el7.x86_64 21/26 Verifying : autoconf-2.69-11.el7.noarch 22/26 Verifying : krb5-devel-1.15.1-8.el7.x86_64 23/26 Verifying : cppunit-1.12.1-11.el7.x86_64 24/26 Verifying : cppunit-devel-1.12.1-11.el7.x86_64 25/26 Verifying : libssh2-devel-1.4.3-10.el7_2.1.x86_64 26/26 Installed: autoconf.noarch 0:2.69-11.el7 automake.noarch 0:1.13.4-3.el7 c-ares-devel.x86_64 0:1.10.0-3.el7 cppunit-devel.x86_64 0:1.12.1-11.el7 libsqlite3x-devel.x86_64 0:20071018-20.el7 libssh2-devel.x86_64 0:1.4.3-10.el7_2.1 libtool.x86_64 0:2.4.2-22.el7_3 libxml2-devel.x86_64 0:2.9.1-6.el7_2.3 openssl-devel.x86_64 1:1.0.2k-8.el7 zlib-devel.x86_64 0:1.2.7-17.el7 Dependency Installed: c-ares.x86_64 0:1.10.0-3.el7 cppunit.x86_64 0:1.12.1-11.el7 keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.15.1-8.el7 libcom_err-devel.x86_64 0:1.42.9-10.el7 libkadm5.x86_64 0:1.15.1-8.el7 libselinux-devel.x86_64 0:2.5-11.el7 libsepol-devel.x86_64 0:2.5-6.el7 libsqlite3x.x86_64 0:20071018-20.el7 libverto-devel.x86_64 0:0.2.5-4.el7 m4.x86_64 0:1.4.16-10.el7 pcre-devel.x86_64 0:8.32-17.el7 perl-Test-Harness.noarch 0:3.28-3.el7 perl-Thread-Queue.noarch 0:3.02-2.el7 sqlite-devel.x86_64 0:3.7.17-8.el7 xz-devel.x86_64 0:5.2.2-1.el7 Complete!
Step 2:
[root@tutorialspots ~]# git clone https://github.com/aria2/aria2.git Cloning into 'aria2'... remote: Counting objects: 56454, done. remote: Total 56454 (delta 0), reused 0 (delta 0), pack-reused 56454 Receiving objects: 100% (56454/56454), 27.59 MiB | 16.29 MiB/s, done. Resolving deltas: 100% (48911/48911), done.
Step 3:
[root@tutorialspots ~]# yum install gettext-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * epel: ftp.riken.jp * extras: ftp.iij.ad.jp * remi: mirrors.thzhost.com * remi-php71: mirrors.thzhost.com * remi-safe: mirrors.thzhost.com * updates: ftp.iij.ad.jp Resolving Dependencies --> Running transaction check ---> Package gettext-devel.x86_64 0:0.19.8.1-2.el7 will be installed --> Processing Dependency: gettext-common-devel = 0.19.8.1-2.el7 for package: ge ttext-devel-0.19.8.1-2.el7.x86_64 --> Running transaction check ---> Package gettext-common-devel.noarch 0:0.19.8.1-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gettext-devel x86_64 0.19.8.1-2.el7 base 320 k Installing for dependencies: gettext-common-devel noarch 0.19.8.1-2.el7 base 410 k Transaction Summary ================================================================================ Install 1 Package (+1 Dependent package) Total download size: 730 k Installed size: 1.8 M Is this ok [y/d/N]: y Downloading packages: (1/2): gettext-devel-0.19.8.1-2.el7.x86_64.rpm | 320 kB 00:00 (2/2): gettext-common-devel-0.19.8.1-2.el7.noarch.rpm | 410 kB 00:02 -------------------------------------------------------------------------------- Total 355 kB/s | 730 kB 00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : gettext-common-devel-0.19.8.1-2.el7.noarch 1/2 Installing : gettext-devel-0.19.8.1-2.el7.x86_64 2/2 Verifying : gettext-devel-0.19.8.1-2.el7.x86_64 1/2 Verifying : gettext-common-devel-0.19.8.1-2.el7.noarch 2/2 Installed: gettext-devel.x86_64 0:0.19.8.1-2.el7 Dependency Installed: gettext-common-devel.noarch 0:0.19.8.1-2.el7 Complete!
Step 4:
[root@vultr aria2]# autoreconf -i Copying file ABOUT-NLS Copying file config.rpath Copying file m4/codeset.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4' aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4' aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:26: installing './config.guess' configure.ac:26: installing './config.sub' configure.ac:40: installing './install-sh' configure.ac:40: installing './missing' Makefile.am: installing './INSTALL' lib/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' configure.ac:731: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its us e is discouraged. configure.ac:731: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro i nstead, configure.ac:731: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.a m files. configure.ac:7: installing './config.guess' configure.ac:7: installing './config.sub' configure.ac:10: installing './install-sh' configure.ac:10: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver'
Step 5:
./configure ARIA2_STATIC=yes
result:
... configure: summary of build options: Build: x86_64-unknown-linux-gnu Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Install prefix: /usr/local CC: gcc CXX: g++ CPP: gcc -E CXXFLAGS: -g -O2 CFLAGS: -g -O2 CPPFLAGS: LDFLAGS: LIBS: DEFS: -DHAVE_CONFIG_H CXX1XCXXFLAGS: -std=c++11 EXTRACXXFLAGS: -pipe EXTRACFLAGS: -pipe EXTRACPPFLAGS: EXTRALDFLAGS: -all-static EXTRALIBS: -lpthread -ldl -lrt WARNCXXFLAGS: LibUV: no (CFLAGS='' LIBS='') SQLite3: yes (CFLAGS=' ' LIBS='-lsqlite3 -ldl -lpthread ') SSL Support: yes AppleTLS: no (LDFLAGS='') WinTLS: no (LIBS='') GnuTLS: no (CFLAGS='' LIBS='') OpenSSL: yes (CFLAGS=' ' LIBS='-lssl -lgssapi_krb5 -lkrb5 -lcom_err -lk5c rypto -lcrypto -ldl -lz ') CA Bundle: LibNettle: no (CFLAGS='' LIBS='') LibGmp: no (CFLAGS='' LIBS='') LibGcrypt: no (CFLAGS='' LIBS='') LibXML2: yes (CFLAGS='-I/usr/include/libxml2 ' LIBS='-lxml2 -lz -lm ') LibExpat: no (CFLAGS='' LIBS='') LibCares: yes (CFLAGS=' ' LIBS='-lcares ') Zlib: yes (CFLAGS=' ' LIBS='-lz ') Libssh2: yes (CFLAGS=' ' LIBS='-lssh2 -lssl -lgssapi_krb5 -lkrb5 -lcom_er r -lk5crypto -lcrypto -ldl -lz ') Tcmalloc: no (CFLAGS='' LIBS='') Jemalloc: no (CFLAGS='' LIBS='') Epoll: yes Bittorrent: yes Metalink: yes XML-RPC: yes Message Digest: openssl WebSocket: yes (CFLAGS='-I$(top_builddir)/deps/wslay/lib/includes -I$(top_s rcdir)/deps/wslay/lib/includes' LIBS='$(top_builddir)/deps/wslay/lib/libwslay.la ') Libaria2: no (shared=yes static=no) bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion Static build: yes
Step 6:
make
result:
... CXX PollEventPoll.lo CC getrandom_linux.lo CXXLD libaria2.la libtool: link: warning: complete static linking is impossible in this configurat ion CXX main.o CXXLD aria2c libtool: link: warning: complete static linking is impossible in this configurat ion make[3]: Leaving directory `/root/aria2/src' make[2]: Leaving directory `/root/aria2/src' Making all in doc make[2]: Entering directory `/root/aria2/doc' Making all in manual-src make[3]: Entering directory `/root/aria2/doc/manual-src' Making all in en make[4]: Entering directory `/root/aria2/doc/manual-src/en' WARNING: Building only stub man pages. Please install sphinx-build: pip install sphinx if [ ! -d "_build/man" ]; then mkdir -p "_build/man"; fi; if [ ! -e "_build/man/aria2c.1" ]; then touch "_build/man/aria2c.1"; fi; make[4]: Leaving directory `/root/aria2/doc/manual-src/en' Making all in ru make[4]: Entering directory `/root/aria2/doc/manual-src/ru' WARNING: Building only stub man pages. Please install sphinx-build: pip install sphinx if [ ! -d "_build/man" ]; then mkdir -p "_build/man"; fi; if [ ! -e "_build/man/aria2c.1" ]; then touch "_build/man/aria2c.1"; fi; make[4]: Leaving directory `/root/aria2/doc/manual-src/ru' Making all in pt make[4]: Entering directory `/root/aria2/doc/manual-src/pt' WARNING: Building only stub man pages. Please install sphinx-build: pip install sphinx if [ ! -d "_build/man" ]; then mkdir -p "_build/man"; fi; if [ ! -e "_build/man/aria2c.1" ]; then touch "_build/man/aria2c.1"; fi; make[4]: Leaving directory `/root/aria2/doc/manual-src/pt' make[4]: Entering directory `/root/aria2/doc/manual-src' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/root/aria2/doc/manual-src' make[3]: Leaving directory `/root/aria2/doc/manual-src' make[3]: Entering directory `/root/aria2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/root/aria2/doc' make[2]: Leaving directory `/root/aria2/doc' Making all in test make[2]: Entering directory `/root/aria2/test' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/aria2/test' make[2]: Entering directory `/root/aria2' Warning: rst2html not installed. Placing only a dummy file for README.html echo "<!doctype html>" > README.html echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README. rst</a></p>" >> README.html make[2]: Leaving directory `/root/aria2' make[1]: Leaving directory `/root/aria2'
After make, the executable is located at /root/aria2/src/aria2c
Test download file HTTP:
[root@tutorialspots src]# ./aria2c http://ipv4.download.thinkbroadband.com/100MB.zip 04/20 10:11:36 [NOTICE] Downloading 1 item(s) [#9ed480 95MiB/100MiB(95%) CN:1 DL:10MiB] 04/20 10:11:48 [NOTICE] Download complete: /root/aria2/src/100MB.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 9ed480|OK | 9.6MiB/s|/root/aria2/src/100MB.zip Status Legend: (OK):download completed.
Test download file HTTPS:
[root@tutorialspots src]# ./aria2c --check-certificate=false https://speed.hetzner.de/10 0MB.bin 04/20 10:16:26 [NOTICE] Downloading 1 item(s) [#f9bf14 98MiB/100MiB(98%) CN:1 DL:10MiB] 04/20 10:16:38 [NOTICE] Download complete: /root/aria2/src/100MB.bin Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= f9bf14|OK | 9.5MiB/s|/root/aria2/src/100MB.bin Status Legend: (OK):download completed.
Test download Torrent file:
[root@vultr src]# ./aria2c "magnet:?xt=urn:btih:0E532E9B7EF35EABF98218E9F7310427 0EA9B796&dn=The+Ultimate+Fighter+S27E01+Good+Day+for+a+Fight+720p+FOX+WEB-DL+AAC 2.0+H264-BOOP+%5BTJET%5D&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce &tr=udp%3A%2F%2F9.rarbg.me%3A2710%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2 Fannounce&tr=udp%3A%2F%2Fshadowshq.yi.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.a renabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounc e&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2F tracker.eddie4.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Fshadowshq.eddie4.nl%3A6969%2F announce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A80%2Fannounce&tr=udp%3A%2F%2Ft racker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2780%2Fanno unce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.ch%3 A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2 F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer. tk%3A6969%2Fannounce" 04/20 10:24:46 [NOTICE] Downloading 1 item(s) 04/20 10:24:46 [ERROR] Exception caught while loading DHT routing table from /ro ot/.cache/aria2/dht.dat Exception: [DHTRoutingTableDeserializer.cc:83] errorCode=1 Failed to load DHT ro uting table from /root/.cache/aria2/dht.dat 04/20 10:24:46 [NOTICE] IPv4 DHT: listening on UDP port 6992 04/20 10:24:46 [NOTICE] IPv4 BitTorrent: listening on TCP port 6901 04/20 10:24:46 [NOTICE] IPv6 BitTorrent: listening on TCP port 6901 [#e3c2d6 2.7KiB/2.7KiB(100%) CN:28 SD:2] 04/20 10:24:48 [NOTICE] Download complete: [MEMORY][METADATA]The+Ultimate+Fighte r+S27E01+Good+Day+for+a+Fight+720p+FOX+WEB-DL+AAC2.0+H264-BOOP+[TJET] *** Download Progress Summary as of Fri Apr 20 10:25:47 2018 *** =============================================================================== [#769d07 203MiB/1.0GiB(18%) CN:44 SD:31 DL:6.3MiB ETA:2m18s] FILE: /root/aria2/src/The.Ultimate.Fighter.S27E01.Good.Day.for.a.Fight.720p.FOX. WEB-DL.AAC2.0.H.264-BOOP.mkv ------------------------------------------------------------------------------- *** Download Progress Summary as of Fri Apr 20 10:26:47 2018 *** =============================================================================== [#769d07 770MiB/1.0GiB(71%) CN:44 SD:32 DL:9.9MiB ETA:30s] FILE: /root/aria2/src/The.Ultimate.Fighter.S27E01.Good.Day.for.a.Fight.720p.FOX. WEB-DL.AAC2.0.H.264-BOOP.mkv ------------------------------------------------------------------------------- *** Download Progress Summary as of Fri Apr 20 10:27:47 2018 *** =============================================================================== [#769d07 SEED(0.0) CN:44 SD:0] FILE: /root/aria2/src/The.Ultimate.Fighter.S27E01.Good.Day.for.a.Fight.720p.FOX. WEB-DL.AAC2.0.H.264-BOOP.mkv ------------------------------------------------------------------------------- 04/20 10:29:57 [NOTICE] Shutdown sequence commencing... Press Ctrl-C again for e mergency shutdown. 04/20 10:29:57 [NOTICE] Download complete: /root/aria2/src/The.Ultimate.Fighter. S27E01.Good.Day.for.a.Fight.720p.FOX.WEB-DL.AAC2.0.H.264-BOOP.mkv 04/20 10:29:57 [NOTICE] Your share ratio was 0.0, uploaded/downloaded=432KiB/1.0 GiB Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= e3c2d6|OK | 0B/s|[MEMORY][METADATA]The+Ultimate+Fighter+S27E01+Good+Day+f or+a+Fight+720p+FOX+WEB-DL+AAC2.0+H264-BOOP+[TJET] 769d07|OK | 7.7MiB/s|/root/aria2/src/The.Ultimate.Fighter.S27E01.Good.Day.for .a.Fight.720p.FOX.WEB-DL.AAC2.0.H.264-BOOP.mkv Status Legend: (OK):download completed.
3 Comments
Linux: how to download multiple files in background | Free Online Tutorials
(May 5, 2018 - 5:03 pm)[…] Step 1: Install aria2 […]
How to get .torrent files from magnet link | Free Online Tutorials
(October 3, 2018 - 4:30 pm)[…] Read more: How to install aria2 on CentOS […]
How to download magnet link use aria2? | Free Online Tutorials
(October 3, 2018 - 4:34 pm)[…] Read more: How to install aria2 on CentOS […]