[HowTo] install MegaSync properly on Manjaro

Installing Mega Sync is fairly easy in Manjaro. But after installation you may face this problem. Since the thread is closed and the answer seems inappropriate to me, I’m writing this tutorial for future users.

Step 1: Download MegaSync

Download MegaSync from MEGA Desktop App: Windows, Mac and Linux. Choose Arch Linux.

Step 2: Install mega-sync

Run in terminal:

sudo pacman -U /path/to/downloaded/package.pkg.tar.zst

It is in my case:

sudo pacman -U ~/Downloads/megasync-x86_64.pkg.tar.zst

Step 3: Edit /etc/pacman.conf

sudo nano /etc/pacman.conf

If you go to the bottom of the file, you will find something like this:

###REPO for MEGA###
[DEB_Arch_Extra]
SigLevel = Required TrustedOnly
Server = https://mega.nz/linux/repo/Arch_Extra/$arch/
###END REPO for MEGA###

Just change it to:

###REPO for MEGA###
[DEB_Arch_Extra]
SigLevel = Required TrustedOnly
Server = https://mega.nz/linux/repo/Arch_Extra/x86_64/
###END REPO for MEGA###

Step 4: Remove existing mega files from /var/lib/pacman/sync/

sudo rm /var/lib/pacman/sync/DEB_Arch_Extra.*

Step 5: Update Database

sudo pamac update

That’s all. Now everything should work fine.

2 Likes

I’d suggest using the AUR package instead of adding a foreign repository.

pamac build megasync-bin
4 Likes

Hi!! :grinning:

Downloading from the Mega website itself it should be safe, isn’t it?

Regards.

2 Likes

Been using the megasync.bin package you linked for 2 years now with zero issues

1 Like

I would recommend going to the page showing the full list of downloads instead, and download the clean tar.package without Nautilus or Nemo connection. All you need to do then is to rightclick it from file browser and chose “open with installer”. No need to add repos or editing other files.
The app just works out of the gate after that.

I do understand this solution might not have worked back in 2022, but today it works just fine, at least it did for me.

What i found myself needing to do after that, since i use a separate harddrive to store my downloads, was to edit the mounting point using “KDE Partition Manager” to get the OS to remember my drive, and not needing to manually mount it at every restart.

No necro-bumping, please. Besides, this thread is no longer pertinent — megasync is available through the AUR.