I want to remove completely Sublime Text 3 from my system. I have tried this:

sudo apt-get purge sublime-text-installer

and the application is gone, but when I install it again...

sudo apt-get install sublime-text-installer

...the themes and the plugins remain installed.

  • 2
    This works: sudo apt-get remove --purge sublime-text Of course you may have some other package different from sublime-text depending on which package you installed to begin with. You just need to make sure you know WHAT that that original package name is, of course, to remove it. – Clay Ferguson Mar 27 '16 at 19:22

I found my own solution. The configuration packages and other data where under $HOME/.config/sublime-text-3. Once I removed that folder, all was golden.


The full answer is the combination of both the methods.

This folder really contains all the Sublime text 3 settings for the current user:


Folders structure may be like this:

Installed Packages

But to remove it completely you will need to call:

sudo apt-get purge --auto-remove sublime-text-installer  


sudo apt-get remove --auto-remove sublime-text-installer

Then to install again you would call

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

This is what worked successfully for me:

First, I removed the sublime text package and any other dependant packages which are no longer needed from my Ubuntu:

sudo apt-get remove --auto-remove sublime-text-installer

Then I deleted the configuration and data files of sublime text and it's dependencies from Ubuntu

sudo apt-get purge --auto-remove sublime-text-installer 

This is the main output of the last command which I believe interests you more:

Do you want to continue? [Y/n] y
(Reading database ... 369782 files and directories currently installed.)
Removing sublime-text-installer (3114-2~webupd8~0) ...
Purging configuration files for sublime-text-installer (3114-2~webupd8~0) ...

protected by Community Apr 18 '17 at 3:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.