Official Linux Repos For Atom Text Editor Now Available!

Roland Taylor's Gravatar

Roland Taylor
published Dec. 21, 2017, 8:50 a.m.

If, like me, you're an avid Atom user, you've probably been disappointed with the lack of any official repositories for Linux systems, especially since the release cadence isn't always respected by 3rd party packagers.

Fortunately for us atomic coders, there is finally some good news, a Christmas present if you will. Atom is now available from three (yes, three!) Linux repositories, for apt/deb systems (Debian, elementary, Ubuntu, Etc), dnf/yum systems (CentOS, Fedora, Red Hat, Etc) and zypp (SUSE) are available, and they're all officially supported by Atom's team.

News of this wonderful development actually came yesterday in my inbox, but I got busy with some offline business, so I couldn't write about it then.

Instruction time!

There are only 64bit packages available! If you want to run Atom on a distro without packages for Atom, you're going to need to compile Atom from source.

The full instructions can be found here, including how to use Atom's portable version, which works on all distros but does not come with repository integration.

Instructions for Debian/Ubuntu users:

Fortunately, Atom doesn't come with a version specific repo, so it will work on everything! Just follow these commands:

curl -L | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] any main" > /etc/apt/sources.list.d/atom.list'
sudo apt-get update

Followed by: To install Atom: sudo apt-get install atom

To install Atom Beta: sudo apt-get install atom-beta

Redhat, Fedora, etc, don't feel left out:

For you, those commands are:

sudo rpm --import
sudo sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=" > /etc/yum.repos.d/atom.repo'

Followed by:

To install Atom:

sudo dnf install atom


sudo yum install atom

And to install Atom Beta:

sudo dnf install atom-beta


sudo yum install atom-beta

SUSE users, here's what you need to do:

It's dangerous to go alone! Take this:

sudo sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=\$basearch\nenabled=1\ntype=rpm-md\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=" > /etc/zypp/repos.d/atom.repo'
sudo zypper --gpg-auto-import-keys refresh

To install Atom:

sudo zypper install atom

Or to install Atom Beta:

sudo zypper install atom-beta