How to uninstall Atom text editor on Linux?

对着背影说爱祢 提交于 2019-12-02 17:22:52

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/

For Ubuntu 14.04 & Ubuntu 18.04, use the following:

sudo apt-get remove atom

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

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

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

In RHEL (I guess also Fedora/CentOS), just type: yum erase atom

I would use simply

sudo apt remove --purge atom

since it is also suggested in the (un-official) installation page here

On Ubuntu 14.04, with Atom 1.0, I didn't find anything under /usr/local/bin/.

However, the install was at /usr/share/atom/, which I deleted.

This is what I have on Linux Mint install

$ uname --all

Linux lenny-home 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ ls /usr/share/atom

libchromiumcontent.so libnotify.so.4 locales content_shell.pak libffmpegsumo.so
libudev.so.0 resources icudtl.dat libgcrypt.so.11
LICENSE version

$ ls .atom/

compile-cache init.coffee nohup.out snippets.cson styles.less config.cson keymap.cson packages storage

$ file /usr/bin/X11/atom

/usr/bin/X11/atom: Bourne-Again shell script, ASCII text executable

I used Ubuntu Software Centre to reinstall it, then to completely (uninstall it) remove it. Then Installed Electron. Hope this helps.

bernaulli

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

sudo dpkg -r atom

I have used below command in ubuntu 16.04 and it worked.

sudo apt-get remove atom
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!