Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
MegaSync Client Installation | Solus
Clone it --
> git clone
> cd MEGAsync
> git submodule update --init --recursive
Get crypto++ | I think it's already in the repo (cryptopp-devel) if not:
> wget #Tested on version 5.6.3
> mkdir ~/crypto && cd ~/crypto && unzip ~/Downloads/
> make libcryptopp.a If anything goes wrong make clean. Note: only .so is needed..but what the heck.
> sudo make install PREFIX=/usr
make sure everything is set
> ld -lcryptopp
You should see something like this
>> ld: warning: cannot find entry symbol _start; not setting start address
>> /usr/lib64/ undefined reference to `pthread_key_create'
>> /usr/lib64/ undefined reference to `pthread_getspecific'
>> /usr/lib64/ undefined reference to `pthread_key_delete'
>> /usr/lib64/ undefined reference to `pthread_setspecific'
Export CFLAG for c-ares
> nano src/MEGASync/mega/contrib/
Add it before ./configure on line 501
So that it looks like this
>> package_extract $name $cares_file $cares_dir
>> package_configure $name $cares_dir $install_dir "$cares_params"
>> package_build $name $cares_dir
>> package_install $name $cares_dir $install_dir
Get qt5-devel -- We want qmake(5) not qmake-qt4
> sudo eopkg it qt5-base-devel
OpenGl - needed due to dependency amplification
> sudo eopkg it libglu-devel
Head back to MEGA root -- /src
> ./configure
> qmake
> lrelease MEGASync/
> make
That's it.. Exec located at MEGAsync/src/MEGASync/megasync
Additional setup for ease
> sudo cp megasync /usr/bin/megasync
> sudo nano /usr/share/applications/megasync.desktop and paste this
[Desktop Entry]
GenericName=File Synchronizer
Comment=Easy Automated syncing between your computers and your MEGA cloud drive.
And finally to get the icon in the app tray
sudo cp MEGAsync/src/MEGASync/gui/images/app_128.png /usr/share/pixmaps/mega.png
I have this setup on 2 solus boxes. Only one of them has the MEGA icon instead of the regular folder icon. Note sure why.

This comment has been minimized.

Copy link

Splizard commented Feb 9, 2018

This doesn't seem to work any longer...Mega ./configure fails when extracting libuv.
Could you share a working Solus binary?


This comment has been minimized.

Copy link

zios870 commented Sep 23, 2018

I was successfully build this. But I have to install curl-devel and bzip2-devel package. Those are available in Solus repo. I'm using the latest version of Solus.


This comment has been minimized.

Copy link

dodecandrea commented Oct 11, 2018

checking for c-ares... checking ares.h usability... no
checking ares.h presence... no
checking for ares.h... no
configure: error: ares.h header not found or not usable
How can i fix this problem? It seems that it cannot find the header file, even if I export the c-ares flag correctly


This comment has been minimized.

Copy link

jiawanyovan commented Nov 21, 2018

I have forked and updated the gist here for Solus 3.99:

Missing components in my case are:

  1. Libraw
  2. Qt5-svg
  3. Sqlite3

@dodecandrea, you may need to install system.devel as gleaned from the "Basics to Package Management" article on :

sudo eopkg install -c system.devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.