Reputation: 2104
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 delete? or maybe an script to run?
Thanks for the attention
Upvotes: 85
Views: 108458
Reputation: 1615
For Ubuntu 14.04 & Ubuntu 18.04, use the following:
sudo apt-get remove atom
Upvotes: 87
Reputation: 471
I would use simply
sudo apt remove --purge atom
since it is also suggested in the (un-official) installation page here
Upvotes: 4
Reputation: 321
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
Upvotes: 22
Reputation: 147
If you have installed Atom by .deb, then you can just remove by:
sudo dpkg -r atom
Upvotes: 0
Reputation: 3171
In RHEL (I guess also Fedora/CentOS), just type: yum erase atom
Upvotes: 5
Reputation: 10180
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
Upvotes: 43
Reputation: 615
on Ubuntu (15.04):
after installing the .deb
from atom.io, I found the package available under the Ubuntu Software center.
Upvotes: 4
Reputation: 1821
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.
Upvotes: 2
Reputation: 2104
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/
Upvotes: 96