skip to Main Content
How To Setup Mega Sync On Your Linux Server

How to Setup Mega Sync on Your Linux Server

If you are renting a server to compute your calculations externally, you are likely going to need to transfer files from your server at some point. There are several ways to do this, including popular options such as Dropbox, but in this guide we will focus on explaining the steps necessary for MEGA. The advantage of using MEGA as your backup service is that MEGA offers you free 50 GB of storage that you can use to get started and test the service to see if it is suitable for you. 50 GB may also be all you need for your use case.

This setup is not particularly complicated and should not take longer than 15 minutes to complete.

Download MEGAsync

Navigate to MEGA’s website and download the appropriate MEGAsync file for the appropriate operating system. If you are a follower of my blog, you will most likely need the file for Debian 9.

Select Your Version

Install MEGAsync

For this step, navigate to the folder which you’ve downloaded the MEGAsync install file to. For most users, the simplest way to do this would be to navigate to the folder using the GUI (graphical user interface) and then right-click and select the option ‘Open Terminal Here’, in an empty field in the folder.

Alternatively, if you know the file path, you can also simply open a terminal from another location and navigate to the file location using the command ‘cd /home/user/Downloads’ for example. Replace ‘user‘ with your username. Once you have made sure you are in the right location, you are going to want to install the file using the command ‘sudo dpkg -i ‘file name”. Replace ‘file name‘ with the name of the installation file.

And that’s it, MEGAsync should now be installed on your server.

Login to MEGAsync

Now that MEGAsync is installed, you are going to want to login to complete the setup. You can launch MEGAsync by opening a terminal, and entering the command ‘megasync’. Alternatively, you can locate it from the dropdown menu from your server’s desktop.

If you haven’t already created an account, do this first, then use your login details to sign-in to your server.

After configuring the synchronization options to your needs, you are all set to go. You can comfortably upload files to and from MEGA either through using a browser such as Chromium (MEGA’s website will automatically recognize that you are using MEGAsync) or through the desktop application itself.


We hope this article was useful to you. Please leave a comment below if you liked it or need help with one of the steps. Subscribe if you would like to be notified of more articles like this in the future.

This Post Has 2 Comments
  1. My server located in other country, and i have no gui.
    So, your guide did not help.
    qt.qpa.screen: QXcbConnection: Could not connect to display
    Could not connect to any X display.

Leave a Reply

Your email address will not be published. Required fields are marked *