{"id":780,"date":"2010-03-02T21:27:11","date_gmt":"2010-03-02T13:27:11","guid":{"rendered":"http:\/\/www.liangliang.org.cn\/blog\/?p=780"},"modified":"2010-03-02T21:27:11","modified_gmt":"2010-03-02T13:27:11","slug":"%e6%8e%a8%e8%8d%90%e4%b8%80%e4%b8%aa%e9%9d%9e%e5%b8%b8%e5%87%ba%e8%89%b2%e7%9a%84%e4%b8%8b%e8%bd%bd%e5%b7%a5%e5%85%b7aria2%e4%bb%a5%e5%8f%8agui%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.liangliang.org.cn\/?p=780","title":{"rendered":"\u63a8\u8350\u4e00\u4e2a\u975e\u5e38\u51fa\u8272\u7684\u4e0b\u8f7d\u5de5\u5177aria2\u4ee5\u53caGUI\u3002"},"content":{"rendered":"<p>    aria2 \u662f Linux \u4e0b\u4e00\u4e2a\u4e0d\u9519\u7684\u9ad8\u901f\u4e0b\u8f7d\u5de5\u5177\u3002\u7531\u4e8e\u5b83\u5177\u6709\u5206\u6bb5\u4e0b\u8f7d\u5f15\u64ce\uff0c\u6240\u4ee5\u652f\u6301\u4ece\u591a\u4e2a\u5730\u5740\u6216\u8005\u4ece\u4e00\u4e2a\u5730\u5740\u7684\u591a\u4e2a\u8fde\u63a5\u6765\u4e0b\u8f7d\u540c\u4e00\u4e2a\u6587\u4ef6\u3002\u8fd9\u6837\u81ea\u7136\u5c31\u5927\u5927\u52a0\u5feb\u4e86\u6587\u4ef6\u7684\u4e0b\u8f7d\u901f \u5ea6\u3002aria2 \u4e5f\u5177\u6709\u65ad\u70b9\u7eed\u4f20\u529f\u80fd\uff0c\u8fd9\u4f7f\u4f60\u968f\u65f6\u80fd\u591f\u6062\u590d\u5df2\u7ecf\u4e2d\u65ad\u7684\u6587\u4ef6\u4e0b\u8f7d\u3002\u9664\u4e86\u652f\u6301\u4e00\u822c\u7684 http(s) \u548c ftp \u534f\u8bae\u5916\uff0caria2 \u8fd8\u652f\u6301 BitTorrent \u534f\u8bae\u3002\u8fd9\u610f\u5473\u7740\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528 aria2 \u6765\u4e0b\u8f7d torrent \u6587\u4ef6\u3002<\/p>\n<p>\u5b89\u88c5 aria2<\/p>\n<p>aria2 \u76ee\u524d\u5df2\u88ab\u5305\u542b\u5230\u8bb8\u591a Linux \u53d1\u884c\u7248\u4e2d\uff0c\u56e0\u6b64\u4f60\u53ef\u4ee5\u901a\u8fc7\u6240\u7528\u7684\u7cfb\u7edf\u76f4\u63a5\u52a0\u4ee5\u5b89\u88c5\u3002\u4f8b\u5982\uff0c\u5728 Debian\/Ubuntu \u4e2d\uff0c\u4f60\u53ef\u4ee5\u5728\u7ec8\u7aef\u6267\u884c\u5982\u4e0b\u6307\u4ee4\u6765\u5b89\u88c5 aria2\uff1a<br \/>\nsudo apt-get install aria2<\/p>\n<p>\u9879\u76ee\u9875:<\/p>\n<p>http:\/\/aria2.sourceforge.net\/<\/p>\n<p>aUsage<\/p>\n<p>Download from WEB<\/p>\n<p>$ aria2c http:\/\/example.org\/mylinux.iso <\/p>\n<p>Download from 2 sources<br \/>\n$ aria2c http:\/\/a\/f.iso ftp:\/\/b\/f.iso <\/p>\n<p>BitTorrent<br \/>\n$ aria2c http:\/\/example.org\/mylinux.torrent <\/p>\n<p>BitTorrent Magnet URI<br \/>\n$ aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299D<br \/>\nE78D5C1ED359BB46717D8C' <\/p>\n<p>Metalink<br \/>\n$ aria2c http:\/\/example.org\/mylinux.metalink<\/p>\n<p>Download URIs found in text file<br \/>\n$ aria2c -i uris.txt<\/p>\n<p>\u5173\u4e8e aria2 \u7684\u66f4\u591a\u7528\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7 man aria2c \u67e5\u9605\u3002<\/p>\n<p>GUI\uff1a<\/p>\n<p>\u63a8\u8350\u4f7f\u7528aria2fe<\/p>\n<p>http:\/\/aria2fe.sourceforge.net\/<\/p>\n<p>aria2fe\u9700\u8981\u5b89\u88c5xterm<\/p>\n<p>apt-get install xterm<\/p>\n<p>First Install:<\/p>\n<p>The EASY Way:<\/p>\n<p>Make a copy of the tarball you downloaded (just in case!).<\/p>\n<p>Unpack the tarball to your home directory (~\/). This will add a new directory<br \/>\nnamed aria2fe-0.0.5 (~\/aria2fe-0.0.5).<\/p>\n<p>Copy ~\/aria2fe-0.0.5\/bin\/aria2fe (the binary) to ~\/bin. Your home \"bin\"<br \/>\ndirectory should already be in your path.<\/p>\n<p>Create a desktop icon (or add an entry to your desktop menu). aria2fe logo<br \/>\nicons (22x22 and 32x32) are located in the ~\/aria2fe-0.0.5\/src\/pixmaps<br \/>\ndirectory. If you prefer, aria2fe can be launched from the command line.<\/p>\n<p>Insure that the aria2 and xterm binaries are installed in your path.<\/p>\n<p>That wasn't too hard now, was it?<\/p>\n<p>Note:\tIf aria2fe fails to launch, check permissions and your lib dependencies.<\/p>\n<p>The HARDER Way:<\/p>\n<p>The only difference here is that you will copy the aria2fe binary to a system<br \/>\nbin directory - and that would be \/usr\/local\/bin. I do not recommend this<br \/>\napproach, however, it is your system. Be aprised that you do so at your own<br \/>\nrisk!<\/p>\n<p>Open a terminal, gain root and cp ~\/aria2fe-0.0.5\/bin\/aria2fe \/usr\/local\/bin.<\/p>\n<p>Everything else is the same as the \"EASY Way\".<\/p>\n<p>The HARDEST Way:<\/p>\n<p>\"qmake\", \"make\" and \"make install\" the project after modifying the .pro file<br \/>\naccordingly.<br \/>\nNOTE: A standalone binary requires a static Qt installation.<\/p>\n<p>If you encounter problems other than those mentioned above, take 2 aspirin,<br \/>\ndrink plenty of alcohol, get plenty of rest, and call me in the morning! <\/p>\n<p>\u6709\u5174\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b<\/p>\n<p>https:\/\/sourceforge.net\/projects\/aria2web\/<\/p>\n<p>\u8fd8\u6709\u5f88\u591a\u5176\u4ed6\u7684GUI<\/p>\n<p>http:\/\/sourceforge.net\/apps\/trac\/aria2\/wiki<\/p>\n","protected":false},"excerpt":{"rendered":"<p>aria2 \u662f Linux \u4e0b\u4e00\u4e2a\u4e0d\u9519\u7684\u9ad8\u901f\u4e0b\u8f7d\u5de5\u5177\u3002\u7531\u4e8e\u5b83\u5177\u6709\u5206\u6bb5\u4e0b\u8f7d\u5f15\u64ce\uff0c\u6240\u4ee5\u652f\u6301\u4ece\u591a\u4e2a\u5730\u5740\u6216\u8005\u4ece\u4e00\u4e2a\u5730\u5740\u7684\u591a\u4e2a\u8fde\u63a5\u6765\u4e0b\u8f7d\u540c\u4e00\u4e2a\u6587\u4ef6\u3002\u8fd9\u6837\u81ea\u7136\u5c31\u5927\u5927\u52a0\u5feb\u4e86\u6587\u4ef6\u7684\u4e0b\u8f7d\u901f \u5ea6\u3002aria2 \u4e5f\u5177\u6709\u65ad\u70b9\u7eed&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-780","post","type-post","status-publish","format-standard","hentry","category-debian"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=780"}],"version-history":[{"count":0,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/780\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}