MEGAcmd
MEGAcmd copied to clipboard
Raspbian ARM64 support
I see there's prebuilt packages for megacmd 1.5.0 for Raspbian 11 armhf on the repo, now that Raspbian 11 arm64 is official (https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/) it would be good to have native arm64 packages supplied. Megacmd 1.5.0 builds from source fine on a fresh copy of Raspbian 11 arm64, no issues, for what it's worth.
I also see that Raspbian 9 and 10 have packages for megasync 4.6.3 available (but not Raspbian 11?), I haven't tried building megasync on arm64 yet but it should also work out of the box.
Hi @thurask ! Thanks for the suggestion. We will add packages for Raspbian 11 arm64 soon. And thanks a lot for checking that it builds ok :)
Rgarding MEGAsync, yes, you are right. We have packages for Raspbian 9 and 10 but not for 11 yet. We are experiencing some problems with MEGAsync on Raspbian 11. As soon as they are fixed we will release a version for it too. We are working on it.
Thanks a lot!
Hello!
More than one year and there's still no arm64 for RaspiOS. Is it still planed to be done or the only way is to built it ourselves? And if yes, how can I do it on an AMD64 system?
Thank you
I had issues getting it to build with 32-bit ARM in the past (#451) but on Raspberry Pi OS 11 ARM64 it's just the steps verbatim from the README file; in terms of dependencies I used the list for Debian 9 in the README, although libcrypto++ is now libcrypto++8.
I've built MEGAcmd 1.6.0 directly on my Pi 4 without cross-compile and without issue; I'm eagerly awaiting both the 1.6.1 tag for this repo and the upcoming Raspberry Pi OS 12 release (sometime later this year) to see how builds go.
Edit: 1.6.1 built and ran with no issues.
Can someone please share linux arm64 megacmd binary with me ? i am having trouble compiling it
Successful build on Raspberry Pi OS 12 (Bookworm) ARM64:
- libcrypto++ package is now libcrypto++8 as of Bullseye
- libpcre++ has been removed from Debian Bookworm
- System ffmpeg is too new (#523) so
./configure --without-ffmpeg
is needed
Otherwise follows the steps in README.md and the Debian 9 instructions.
@thurask Thanks for the heads up, i want to use megacmd on my ubuntu 23.10 arm64 server, can i still follow the debian 9 instructions ? Sorry i am not familiar with compiling and stuff in general
@xd003 I don't have ARM hardware running Ubuntu but I do have an AMD64 23.10 system; compilation works using the Ubuntu 18.04 dependencies list (again without libpcre++) and ignoring FFmpeg during configuration.
@thurask
Thanks for the help. I have successfully compiled mega. I tried mega-get
to download some links on my machine. I have 4 gbps bandwidth speed. Although i am getting abysmally low speeds. In 15 minutes, it only downloaded like 5.5 gb. Is this normal ? Is there a way to improve the speeds ?
@xd003 if you look carefully at the logs you'll notice that mega is throttling your traffic and some requests would fail because of traffic quota being exceeded
Is there a way to improve the speeds ?
...just an assumption that I haven't tested personally, but I'd suspect that buying a paid subscription will probably increase your traffic quota and thus improve your transfer speeds
1.7.0 builds on Bookworm using the same process as 1.6.3 above, although I did need to install libicu-dev
to get compile to finish.