How to Install and Configure Mega in Linux

To Install and Configure Mega in Linux

MEGA is a cloud hosting and file hosting group that allows users to backup and share their files and folders across the web. It provides a secured transformation of files with the RSA 2048-bit keys encryption. The Steps to install and configure Mega in Linux is explained.


Mega sync client installation

Go to the official site and download it,
https://mega.co.nz/#sync!linux
Now install the downloaded packages

root@linuxhelp:/home/user1/Downloads# dpkg -i megasync-xUbuntu_16.04_amd64.deb
Selecting previously unselected package megasync.
(Reading database ... 172193 files and directories currently installed.)
Preparing to unpack megasync-xUbuntu_16.04_amd64.deb ...
Unpacking megasync (2.9.5-1.1) ...
dpkg: dependency problems prevent configuration of megasync:
 megasync depends on libc-ares2 (> = 1.7.4)  however:
  Package libc-ares2 is not installed.
 megasync depends on libcrypto++9v5  however:
  Package libcrypto++9v5 is not installed.

dpkg: error processing package megasync (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 megasync

To solve the dependency problem, run the following command

root@linuxhelp:/home/user1/Downloads# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libc-ares2 libcrypto++9v5
...
...
Setting up libc-ares2:amd64 (1.10.0-3) ...
Setting up libcrypto++9v5 (5.6.1-9) ...
Setting up megasync (2.9.5-1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

Install the MEGA Sync client

root@linuxhelp:/home/user1/Downloads# dpkg -i megasync-xUbuntu_16.04_amd64.deb
(Reading database ... 172216 files and directories currently installed.)
Preparing to unpack megasync-xUbuntu_16.04_amd64.deb ...
Unpacking megasync (2.9.5-1.1) over (2.9.5-1.1) ...
Setting up megasync (2.9.5-1.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

Utilise the following command to install the Nautilus extension

root@linuxhelp:/home/user1/Downloads# dpkg -i nautilus-megasync-xUbuntu_16.04_amd64.deb
Selecting previously unselected package nautilus-megasync.
(Reading database ... 172216 files and directories currently installed.)
Preparing to unpack nautilus-megasync-xUbuntu_16.04_amd64.deb ...
Unpacking nautilus-megasync (2.9.2) ...
Setting up nautilus-megasync (2.9.2) ...
Please restart all running instances of Nautilus.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...


To Launch Mega

Execute the following command to open the mega sync

root@linuxhelp:/home/user1/Downloads# megasync

Create an account for MEGA sync Client

Enter the E-mail ID Information and give next

Activate the account by confirming the link that is sent to the registered mail ID.

Confirm your account

Choose your account type and click Select.

MEGA sync client id is successfully registered.

Now click Mega in the unity dash and login using the registered E-mail ID.

Give the path for synchronisation and click Next.

Now the MEGA sync client will be available in the status bar.

Show status

Account settings

Synchronisation settings

Upload bandwidth settings

Advanced Settings

Comment
Seiya
Feb 27 2018
Thanks you soo much!!!!! You are a true hero. Thanks you!!!!!!
darkstar
Jan 29 2018
you re a hero. thank you. i ve been struggling installing mega. thaaanks man ^^
Add a comment
FAQ
Q
How can I make sure that I always have the latest version of MEGAsync?
A
MEGAsync checks for a new version every two hours and updates itself if a new version is available (you can turn this on / off in the Settings / Preferences - Account - Update automatically. The next check is then performed when you turn it back on). For security reasons, only the account that initially installed MEGAsync is allowed to update it.
Q
Which are the ports does MEGAsync use?
A
MEGAsync uses Ports: 80 (http), 443 (https) and 6342 (used for communications between the web and MEGAsync).
Q
Will MEGAsync use peer-to-peer transfers to achieve faster syncing between computers in the same local area network?
A
No. The current incarnation of MEGAsync always syncs via MEGA's cloud infrastructure.
Q
What operating systems is MEGAsync available for?
A
MEGAsync supports:

Windows XP (must have SP3 installed), Server 2003 or higher, Windows Vista, Windows 7, 8, 10
OS X 10.6 (Core 2 Duo 64 bits) or higher
GNU/Linux (Debian / Ubuntu, RedHat / Fedora / CentOS, Debian, openSUSE, Mint and many others)
Q
How to install Mega on OpenSUSE?
A
you can install it using following commands
#zypper ar -f https://mega.nz/linux/MEGAsync/openSUSE_Leap_42.1/ mega
#zypper ref
#zypper in megasync