Hi everyone, today we'll learn how to install and setup MEGASync Client for Cloud in Linux based Operating System. MEGA is a cloud hosting and file hosting company which is based on New Zealand founded by Kim Dotcom . Mega features all its files as encrypted locally before they are uploaded providing 50 GB of storage space are for free and up to 4 TB for paid accounts. It allows users to backup and share their files and folders across the web with end to end encrytion on RSA 2048-bit keys and keeping the files secure and private. MEGA Sync Client is a desktop client for MEGA Cloud Service providing awesome features with easy automated synchronization of files and folders between our computer and the cloud drive. The new MEGAsync for Linux is written in Qt and is available for different versions of Ubuntu and its derivatives, Fedora, RHEL, OpenSuse, Debian, CentOS, Mint and ArchLinux. It consists of a tray application as well as an optional Nautilus extension for easy file sync as like of Dropbox.
Some of the key Features of MEGA Sync Client
Following are some of the important features of MEGA Sync Client.
1. Free cloud storage of 50 GBs. 2. Cheap cloud storage starting from 8.99 Euros per month for 500 GB. 3. End to end encryption with RSA 2048-bit keys. 4. Available on all platforms including Linux, Windows, Mac OS X and mobile platforms like Android and iOS. 5. Neat and Clean HTML 5 designed Manager with many options of Cloud Storage Management. 6. Sync any folder from the computer to any folder in the cloud with parallel synchronization. 7. MEGA's high-powered infrastructure makes transfer amazingly fast.
Here are some easy steps on how we can install MEGA Sync Client in Linux based Operating Systems.
1. Downloading MEGA Sync Client
First of all, we'll gonna download the binary package of MEGA Sync Client for our Operating System. As we are running Ubuntu 14.04 in our machine, we'll gonna download the Ubuntu 14.0 build of mega sync client from the official download page of the client ie. https://mega.co.nz/#sync!linux . If you are running other version of Ubuntu, you can simply select it from the download page and then download. If you are running other Distribution of Linux like OpenSuse, Fedora, RHEL, CentOS, Mint and Debian, we can simply download the package file from the Download Page.
Here, as i am running Ubuntu 14.04 32-bit in my machine, I will gonna download it from a terminal using wget.
$ cd /tmp/ $ wget https://mega.nz/linux/MEGAsync/xUbuntu_14.04/i386/megasync_2.0.0_i386.deb -2015-06-23 13:13:07-- https://mega.nz/linux/MEGAsync/xUbuntu_14.04/i386/megasync_2.0.0_i386.deb Resolving mega.nz (mega.nz)... 126.96.36.199, 2001:978:2:aa::29:2 Connecting to mega.nz (mega.nz)|188.8.131.52|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1808792 (1.7M) [application/x-deb] Saving to: ‘megasync_2.0.0_i386.deb’ megasync_2.0.0_i38 100%[==================>] 1.72M 3.19MB/s in 0.5s 2015-06-23 13:13:08 (3.19 MB/s) - ‘megasync_2.0.0_i386.deb’ saved [1808792/1808792]
Similarly, we can download the binary builds of MEGA Sync Client of any other listed Linux Distribution from the Repository of MEGA Sync Client ie https://mega.nz/linux/MEGAsync/ using wget.
2. Downloading MEGA Nautilus Extension
MEGA Nautilus Extension is an extension package that enhances support of MEGA Sync Client with the Nautilus File Manager. This extension is optional but we'll gonna install it in this tutorial. If you're running nemo file manager as the default file manager or running Linux Mint, then we can also get the debian binary package for unofficial MEGA Nemo extension from https://github.com/hotice/webupd8/. As we are running Ubuntu 14.04 32-bit in our machine, we'll download the Nautilus extension for Ubuntu 14.04 32-bit using the wget. For other linux distribution, we can also get the nautilus extension from the download page or from the repository.
$ cd /tmp/ $ wget https://mega.nz/linux/MEGAsync/xUbuntu_14.04/i386/nautilus-megasync_2.0.0_i386.deb --2015-06-23 13:13:58-- https://mega.nz/linux/MEGAsync/xUbuntu_14.04/i386/nautilus-megasync_2.0.0_i386.deb Resolving mega.nz (mega.nz)... 184.108.40.206, 2001:978:2:aa::29:2 Connecting to mega.nz (mega.nz)|220.127.116.11|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 48082 (47K) [application/x-deb] Saving to: ‘nautilus-megasync_2.0.0_i386.deb’ nautilus-megasync_ 100%[==================>] 46.96K --.-KB/s in 0.09s 2015-06-23 13:13:59 (532 KB/s) - ‘nautilus-megasync_2.0.0_i386.deb’ saved [48082/48082]
Similarly, we can download the binary builds of MEGA Nautilus Extentsion of any other listed linux distribution from the repository of MEGA Sync Client ie https://mega.nz/linux/MEGAsync/ using wget.
3. Installing MEGA Sync Client and Extension
Now, after we have successfully downloaded MEGA Sync Client and Nautilus extension for MEGA Cloud Storage, we'll gonna install them using our package manager installed in our linux machine respectively. Here, as we're running Ubuntu 14.04 32-bit, we'll gonna install it using dpkg package manager as shown below.
$ sudo dpkg -i megasync_2.0.0_i386.deb nautilus-megasync_2.0.0_i386.deb Selecting previously unselected package megasync. (Reading database ... 86398 files and directories currently installed.) Preparing to unpack megasync_2.0.0_i386.deb ... Unpacking megasync (2.0.0) ... Selecting previously unselected package nautilus-megasync. Preparing to unpack nautilus-megasync_2.0.0_i386.deb ... ... dpkg: error processing package nautilus-megasync (--install): dependency problems - leaving unconfigured Processing triggers for mime-support (3.58ubuntu1) ... Errors were encountered while processing: megasync nautilus-megasync
If we get any errors while installing the packages, we can usually fix it by running apt-get -f install if there is some dependencies missing.
$ sudo apt-get -f install
Here, the above commands should work fine with Debian and Ubuntu and their derivatives.
On RPM Based Linux Distributions
If you are running RPM based Linux Distributions like CentOS, Fedora, OpenSuse and RHEL, we can simply install the downloaded rpm packages using rpm package manager.
$ sudo rpm -i megasync-2.0.0*.rpm nautilus-megasync-2.0.0*.rpm
On ArchLinux Distributions
If you are using ArchLinux as your Operating System, you can install MEGA Sync Client very easily using the AUR Repository. You can install it by running the following command in a shell or a terminal.
$ sudo yaourt -S megasync
If you wanna install nautilus extension or nemo extension according to the file manager running, you can run the following command.
$ sudo yaourt -S nautilus-megasync
$ sudo yaourt -S nemo-megasync
4. Launching MEGA Sync Client
Finally, if everything went as expected and MEGA Sync Client is successfully installed, we'll be able to launch MEGA Sync Client from the Launcher or Menu depending upon the Desktop Environment running. An icon for MEGA Sync Client will be available there to get started with it.
After the client is launched, we can login into the client using the credentials we used to login using the web browser. If you don't have an account of MEGA, you can create an account from the app straight ahead.
After we get successfully logged in, we're asked to select whether to choose Full Sync or Selective Sync. After we select the one we need. We'll click Next then we can upload, download the files and folders between the cloud and PC. For easy upload, we can simply copy and paste the file or folder inside a folder called MEGASync inside Home folder by default, this will automatically sync the data.
We have successfully installed and launched MEGA Sync Client in our Linux Operating System. MEGA Sync Client is a pretty neat and clean desktop application for linux that provides users ease to sync files between their PC and Cloud Storage. It reduces the time and effort to upload or download the required files from the server and PC. As MEGA Sync Client is available for almost every linux based distribution, it has been an alternative to the dropbox cloud service and dropbox client. If you have any questions, suggestions, feedback please write them in the comment box below so that we can improve or update our contents. Thank you ! Enjoy :-)