Aria2 for Windows

技术 秋水逸冰 1473浏览 0评论

Aria2 官方网站提供的 aria2-1.37.0-win-64bit-build1.zip 是可以直接适用于 Windows 系统的。
上述 zip 解压后无法直接运行,原因是没有做好配置文件。互联网上很多开源的下载工具其实都是套壳 Aria2 实现的,本文提供的 Aria2 压缩包,写好了配置文件,搭配 NSSM – the Non-Sucking Service Manager 可以做到开机自启动。


本文中所做的主要工作就是:
1. 从官方 zip 包里提取 aria2c.exe 文件;
2. 下载最新的 nssm.exe 来搭配;
3. 写好配置文件 aria2.conf;
4. 写了 4 个 bat 文件,用于安装和卸载,启动和停止 Aria2 服务。

1. 版本号

Aria2 版本 1.37.0

aria2 version 1.37.0
Copyright (C) 2006, 2019 Tatsuhiro Tsujikawa

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

** Configuration **
Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.3 expat/2.5.0 sqlite3/3.43.1 GMP/6.3.0 c-ares/1.19.1 libssh2/1.11.0
Compiler: mingw-w64 8.0.0 (alpha) / gcc 10-win32 20220113
  built by  x86_64-pc-linux-gnu
  targeting x86_64-w64-mingw32
  on        Nov 15 2023 11:17:49
System: Windows 6.2 (x86_64) (6.2)

Report bugs to https://github.com/aria2/aria2/issues
Visit https://aria2.github.io/

2. 下载已经编译好的二进制文件

下载地址:
https://dl.lamp.sh/files/aria2.zip

文件 aria2.zip 的属性
Size: 2595982 byte,2.5 MB
md5sum: d47ff5aa3c35b3830abb2a38ebd3e291
sha1sum: bf80866d93dac1793adf6dfd2b1fd63261a18109
sha256sum: 50937fde43afd1ceb5008f0dd29e5785dce25133de9fc23456931bdd9d556aa7

下载完成,直接解压到任意目录下。
选择 01.Install_aria2.bat,右键,点击以管理员身份运行。便可以将 Aria2 注册为系统服务,并同时启动了 Aria2 后台服务。
按下 Windows + R 键,输入 services.msc 后回车。

在服务控制台窗口中,即可看到 Aria2 服务。

3. 搭配 AriaNg Native 使用

AriaNg Native 是 Aria2 的前端桌面程序。
你可以在 https://github.com/mayswind/AriaNg-Native/releases 下载预编译好的版本。
运行程序,如下图所示:

接下来就可以很方便地使用 AriaNg Native 下载了。

写在最后

请关注我的 Telegram 频道:https://t.me/qiushuiyibing
我会在此不定期发布一些杂七杂八的作品。
同时也欢迎加入交流群:https://t.me/qiushui2018

转载请注明:秋水逸冰 » Aria2 for Windows

发表我的评论
取消评论

请输入正确答案后提交评论 *超出时限。 请再次填写验证码。

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址