{"id":49150,"date":"2025-06-21T16:45:20","date_gmt":"2025-06-21T16:45:20","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=49150"},"modified":"2025-06-21T16:45:20","modified_gmt":"2025-06-21T16:45:20","slug":"install-setup-amule-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/06\/install-setup-amule-ubuntu\/","title":{"rendered":"Install &#038; Setup aMule to Download ED2K in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-49153\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Got ED2K download link, but don&#8217;t know how to open it? Try aMule, eMule based app that works in most Linux Distributions.<\/p>\n<p>ED2K (aka eDonkey2000) is a peer to peer file sharing network. The original project has discontinued, but the popular open-source fork eMule is still alive. As eMule is Windows only app, <a href=\"https:\/\/github.com\/amule-project\/amule\" target=\"_blank\" rel=\"noopener\">aMule<\/a> forked it with multi-platform (Linux, FreeBSD, OpenBSD, Windows, MacOS X and X-Box) support.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49154\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download-700x450.webp\" alt=\"\" width=\"610\" height=\"392\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download-700x450.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download-300x193.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download-768x494.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-download.webp 1120w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h3>Option 1: Install aMule for general use<\/h3>\n<p>If you just want to download a file via ed2k link, then open terminal (Ctrl+Alt+T) and run command to install amule:<\/p>\n<pre>sudo apt install amule<\/pre>\n<p>Run <code>sudo apt update<\/code> to refresh cache if package not found. And for choice, you may search and install aMule from either App Center or Ubuntu Software depends on your Ubuntu version.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49155\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-700x487.webp\" alt=\"\" width=\"610\" height=\"424\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-700x487.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-300x209.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule.webp 714w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE: aMule is NOT available in Ubuntu 20.04 repository, try to <a href=\"https:\/\/launchpad.net\/ubuntu\/+source\/amule\" target=\"_blank\" rel=\"noopener\">download the package for 18.04<\/a>, or see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2020\/07\/install-amule-ubuntu-20-04-lts\/\" target=\"_blank\" rel=\"noopener\">this tutorial<\/a> instead.<\/b><\/p>\n<p>Then, launch the tool, click on &#8220;Yes&#8221; button in pop-up dialog to download server list. Finally, paste the ED2K link in the bottom input box and hit Commit to start downloading.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49156\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k-700x466.webp\" alt=\"\" width=\"610\" height=\"406\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k-700x466.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k-300x200.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k-768x512.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/download-ed2k.webp 1052w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Option 2: Install aMule Daemon for remote management<\/h3>\n<p>If you want to run aMule silently in the background, e.g., for server use, then manage downloads remotely via web browser or graphical client, then run commands below one by one.<\/p>\n<h4>Install &amp; Setup the Daemon<\/h4>\n<p><b>1. First<\/b>, run the command below to install daemon package:<\/p>\n<pre>sudo apt install amule-daemon<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-daemon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49157\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-daemon-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-daemon-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-daemon-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/apt-amule-daemon.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>2. Next<\/b>, run the daemon for the first time by running command:<\/p>\n<pre>amuled<\/pre>\n<p>This command will generate <b>.aMule<\/b> folder in user home directory (hidden by default, press Ctrl+H to view if you&#8217;re on Ubuntu Desktop), which contains many configuration files as well as <b>Incoming<\/b> and <b>Temp<\/b> folders for downloads.<\/p>\n<p>To enable remote access, first click edit <b>amule.conf<\/b> file under <code>.aMule<\/code> folder and set <b>AcceptExternalConnection=1<\/b>.<\/p>\n<p>For server, run the command below to edit:<\/p>\n<pre>sudo nano ~\/.aMule\/amule.conf<\/pre>\n<p>After editing, use <code>Ctrl+S<\/code> to save change, and <code>Ctrl+X<\/code> to exit.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49158\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf-700x523.webp\" alt=\"\" width=\"610\" height=\"456\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf-700x523.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf-300x224.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf-768x574.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/edit-amule-conf.webp 941w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>3.<\/b> Then, run the command below to generate <code>remote.conf<\/code> configuration file:<\/p>\n<pre>amuleweb --write-config --host=localhost --password=123456 --admin-pass=654321<\/pre>\n<p>Here you need to replace 123456 and 654321 with your passwords.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49159\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote-700x325.webp\" alt=\"\" width=\"610\" height=\"283\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote-700x325.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote-300x139.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote-768x356.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/generate-remote.webp 882w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After that, you may run <code>cat ~\/.aMule\/remote.conf<\/code> to print the content of the new generated file.<\/p>\n<p>And, <b>you need to re-edit <code>~\/.aMule\/amule.conf<\/code> and set <b>&#8220;ECPassword&#8221;<\/b> value (see the text editor screenshot above) to be same to AdminPassword.<\/b><\/p>\n<p><b>4.<\/b> Finally, run command to edit <code>\/etc\/default\/amule-daemon<\/code> file and set a user for AMULED_USER:<\/p>\n<pre>sudo nano \/etc\/default\/amule-daemon<\/pre>\n<p>Here I set it to my current user <b>ji<\/b>. You need to replace it with yours (run <code>whoami<\/code> or <code>echo $USER<\/code> to tell), or create one by running <code>sudo adduser NEW_USER<\/code> and use it instead.<\/p>\n<p>When done, press Ctrl+S to save and Ctrl+X to exit.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-daemonusr.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49160\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-daemonusr-700x457.webp\" alt=\"\" width=\"610\" height=\"398\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-daemonusr-700x457.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-daemonusr-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-daemonusr.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>5.<\/b> Finally, restart the aMule daemon service by running command:<\/p>\n<pre>sudo systemctl restart amule-daemon.service<\/pre>\n<p>For Debian, you may need to enable it first by <code>systemctl enable --now amule-daemon<\/code>. And, to check its status, use command:<\/p>\n<pre>systemctl status amule-daemon.service<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amuled-status.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49161\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amuled-status-700x457.webp\" alt=\"\" width=\"610\" height=\"398\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amuled-status-700x457.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amuled-status-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amuled-status.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE: If you have firewall enabled (see how to <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2024\/07\/enable-disable-configure-firewall-ubuntu\/\" target=\"_blank\" rel=\"noopener\">configure firewall via UFW<\/a>), then you need to open:<\/b><\/p>\n<ul>\n<li>tcp\/4661, tcp\/4662, udp\/4665, udp\/4672 allow for outgoing.<\/li>\n<li>tcp\/4662, udp\/4672, tcp\/4711, tcp\/4712 allow for incoming.<\/li>\n<\/ul>\n<h4>Access via GUI or Terminal<\/h4>\n<p><b>To access graphically<\/b>, run the command below to install the graphical utilities:<\/p>\n<pre>sudo apt install amule-utils-gui<\/pre>\n<p>Then, you can search and launch <b>aMuleGUI<\/b>, and type the server IP (leave default if connect from local machine) and the admin password to connect.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-remotelogin.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-49162\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-remotelogin.webp\" alt=\"\" width=\"409\" height=\"357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-remotelogin.webp 409w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-remotelogin-300x262.webp 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<p><b>To access from command line<\/b>, first install the CLI tool:<\/p>\n<pre>sudo apt install amule-utils<\/pre>\n<p>Then, use the command below to connect:<\/p>\n<pre>amulecmd --host=127.0.0.1 --port=4712 --password=jk123123<\/pre>\n<p>Here replace <code>127.0.0.1<\/code> if connect from remote machine, and replace <code>jk123123<\/code> to your password.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amulecli.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49163\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amulecli-700x493.webp\" alt=\"\" width=\"610\" height=\"430\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amulecli-700x493.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amulecli-300x211.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amulecli.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Once connected, you may add a download via <code>add ed2k-link<\/code>, or use <code>show dl<\/code> command to list downloads. For more, run <code>help<\/code>.<\/p>\n<p><b>To access via web browser,<\/b> the daemon sadly does not work in my case. You need to firstly run <b>amuleweb<\/b> command in the server side (or <b>nohup amuleweb &amp;<\/b> to keep running after SSH disconnected), before being able to visit <code>http:\/\/server-ip:4711<\/code> to access WebUI remotely.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49164\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess-700x389.webp\" alt=\"\" width=\"610\" height=\"339\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess-700x389.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess-300x167.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess-768x427.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess-1320x734.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/amule-webaccess.webp 1390w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Got ED2K download link, but don&#8217;t know how to open it? Try aMule, eMule based app that works in most Linux Distributions. ED2K (aka eDonkey2000) is a peer to peer file sharing network. The original project has discontinued, but the popular open-source fork eMule is still alive. As eMule is Windows only app, aMule forked [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49153,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1942,2356],"class_list":["post-49150","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-amule","tag-ed2k-ubuntu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=49150"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49150\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/49153"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=49150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=49150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=49150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}