? MEGANZ SYNC INSTALLATION IN LINUX ?

Teacher

Professional
Messages
2,669
Reaction score
828
Points
113
I tried to install for Debian 10 the mega.nz Debian package. It actually didn't worked so i write a tutorial on how to fix that error.

1️⃣ Download Debian Packet From Here

Code:
https://mega.io/sync

2️⃣ Install GDEBI

Code:
sudo apt install gdebi -y

3️⃣ Try To Install Mega.nz

Code:
sudo gdebi ./megasync-Debian_10.0_amd64.deb

I had an error:

libraw.so.19 dependency.

4️⃣ Fix The Error

Right click on mega.deb package > extract here > go into the folder

Now you see three folders:
▪️DEBIAN
▪️etc
▪️usr

Go to DEBIAN and open the file "control".

Search for "libraw19" and replace it with "libraw20".

Save the files and exit the file manager.

Now we need to build a debian package:

Code:
sudo dpkg-deb --build megasync-Debian_10.0_amd64/

Reinstall:

Code:
sudo gdebi megasync-Debian_10.0_amd64.deb

The installation worked for me.

5️⃣ Start Errors

So we changed the dependency but not the binary file. All we can do is to copy the libraw20 to libraw19.

Code:
sudo cp -R /usr/lib/x86_64-linux-gnu/libraw.so.20 /usr/lib/x86_64-linux-gnu/libraw.so.19

sudo megasync

Now login and it should work.
 
Top