Search code examples
ubuntuuninstallationsublimetext3

uninstall sublime text 3 on ubuntu 12.04


As the sublime text 3 beta has been released and opened to the public I decided to upgrade to it. Turns out that most of the plugins I generally use are not ready to use yet and it has slowed me down. I wanted to uninstall it and resume using sublime text, but haven't find any method of doing so apart from the revert, which would just reset the version 3.

I am waiting on any suggestions.

EDIT I forgot to add that my sublime text 2 was not uninstalled so they both run concurrently only now whenever I try to open sublime text 2 it is shut down automatically after few seconds.


Solution

  • Option 1

    If you installed sublime-text-3 with apt-get, based on this article:

    http://www.webupd8.org/2013/07/sublime-text-3-ubuntu-ppa-now-available.html

    With these lines:

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

    You could remove your installation:

    sudo apt-get remove sublime-text-installer
    

    Option 2

    If you installed Sublime Text 3 from a .deb package which was downloaded directly from Sublime Text page: http://www.sublimetext.com/3

    And you have used this command for installation

    sudo dpkg -i sublime-text_build-3047_amd64.deb
    

    Or you just double clicked on it and Ubuntu Software Center installed it...

    So, in this case:

    sudo dpkg -r sublime-text
    

    But you have to reinstall Sublime Text 2 in each case... Your configurations are in different folders, so your previous settings which belongs to Sublime Text 2, will be still there.