10

I'm using mega service (http://mega.co.nz). I installed the sync client on my Ubuntu 14.10 and it works well. But now I'm trying to configure a new account. I did a purge to the mega sync pakckage :

sudo apt-get --purge remove megasync

and I deleted the associated folder. But after the new install, mega detect my old mega account and it did'nt even create the folder! I disconnected the old one but don't work!

Any help is welcome.

Zied ALAYA
  • 113
  • 2
  • 2
  • 7

2 Answers2

13

You have in your home directory a megasync configuration ~/.local/share/data/Mega Limited. Configurations in your home directory are not deleted by simply uninstalling a package.

Remove this folder with:

rm -rf ~/.local/share/data/Mega\ Limited

For the future use purge instead of remove when you want config files to be gone as well.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
A.B.
  • 89,123
  • 21
  • 245
  • 323
7

To clear the mega client configuration must be eliminated.

sudo apt-get --purge remove megasync

and then delete the configuration

rm -rf ~/.local/share/data/Mega\ Limited
David Foerster
  • 35,754
  • 55
  • 92
  • 145
Roman
  • 81
  • 1
  • The command `sudo apt-get --purge remove megasync` has been executed by the OP and is unnecessary in the response. Apart from that your answer does not provide new information that was not already written in other answers. – A.B. Apr 15 '15 at 08:06
  • 1
    This is the correct answer. Other answers mention that `--purge` will remove configuration files located in the home directory too. This is not true. So the correct sequence is this. – Vassilis Nov 08 '16 at 15:24