How to uninstall Atom text editor on Linux?

后端 未结 10 1156
感动是毒
感动是毒 2021-01-31 07:12

i was reading the documentation looking for a way to cleanly uninstall Atom from my linux OS, but i didn\'t find anything related.

Is there a set of directories to delet

相关标签:
10条回答
  • 2021-01-31 07:24

    If you have installed Atom by .deb, then you can just remove by:

    sudo dpkg -r atom
    
    0 讨论(0)
  • 2021-01-31 07:27

    Atom may also be installed as a Snap. You can find out by using:

    $ sudo snap list
    

    If you see it in the list you can remove it with:

    $ sudo snap remove atom
    

    For more on snaps: https://www.ubuntu.com/desktop/snappy

    0 讨论(0)
  • 2021-01-31 07:31

    on Ubuntu (15.04): after installing the .deb from atom.io, I found the package available under the Ubuntu Software center.

    0 讨论(0)
  • 2021-01-31 07:33

    For Ubuntu 14.04 & Ubuntu 18.04, use the following:

    sudo apt-get remove atom
    
    0 讨论(0)
  • 2021-01-31 07:34

    If you installed atom using the .deb package, you can remove it using this command:

    sudo apt-get remove atom
    

    If you want to remove any config directories, you can use this command:

    sudo apt-get purge atom
    
    0 讨论(0)
  • 2021-01-31 07:38

    I have posted the same question in the Github Project Repository and this is the complete answer: https://github.com/atom/atom/issues/2195#issuecomment-42917489

    The commands to execute are:

    sudo rm /usr/local/bin/atom
    sudo rm /usr/local/bin/apm
    rm -rf ~/atom
    rm -rf ~/.atom
    rm -rf ~/.config/Atom-Shell
    sudo rm -rf /usr/local/share/atom/
    
    0 讨论(0)
提交回复
热议问题