I read the documentation trying to clean Atom from my Linux operating system, but I did not find anything related.
Is there a set of directories to delete? or maybe a script?
Thanks for your attention
I posted the same question on the Github project repository, and this is the complete answer: https://github.com/atom/atom/issues/2195#issuecomment-42917489
Executable commands:
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 and Ubuntu 18.04 use the following:
sudo apt-get remove atom
If you installed the atom using the .deb package, you can remove it using this command:
If you want to remove any config directories, you can use this command:
sudo apt-get purge atom
The atom can also be installed as a snap. You can find out with:
$ sudo snap list
If you see it in the list, you can delete it:
$ sudo snap remove atom
For more information about the snapshots: https://www.ubuntu.com/desktop/snappy
on Ubuntu (15.04): after installing .deb from atom.io, I found the package available in the Ubuntu Software Center.
.deb
In RHEL (I think also Fedora / CentOS) just type: yum erase atom
yum erase atom
I would just use
sudo apt remove --purge atom
since it is also offered on the (unofficial) installation page here
On Ubuntu 14.04, with Atom 1.0, I did not find anything under /usr/local/bin/ .
/usr/local/bin/
However, the installation was in /usr/share/atom/ , which I removed.
/usr/share/atom/
This is what I have in installing Linux Mint
$ uname --allLinux 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 / atomlibchromiumcontent.so libnotify.so.4 locales content_shell.pak libffmpegsumo.solibudev.so.0 resources icudtl.dat libgcrypt.so.11LICENSE version$ ls.atom /compile-cache init.coffee nohup.out snippets.cson styles.less config.cson keymap.cson storage packages$ file / usr / bin / X11 / atom/ usr / bin / X11 / atom: Bourne-Again script shell, ASCII executable
$ 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.solibudev.so.0 resources icudtl.dat libgcrypt.so.11LICENSE version
$ ls.atom /
compile-cache init.coffee nohup.out snippets.cson styles.less config.cson keymap.cson storage packages
$ file / usr / bin / X11 / atom
/ usr / bin / X11 / atom: Bourne-Again script shell, ASCII executable
I used the Ubuntu Software Center to reinstall it and then completely remove it (remove). Then installed electron. Hope this helps.
If you installed Atom on .deb, you can simply remove:
sudo dpkg -r atom
I used the command below in Ubuntu 16.04 and it worked.
In Arch, try:
$ sudo pacman -R atom