Official Atom repository for Ubuntu, Debian, Fedora, Red Hat, CentOS and openSUSE

atom, A cross-platform, open source editor developed by Github, has become very popular due to its plug-ins and embedded Git Control.
The official Atom page allows you to download .deb and .rpm packages for Linux, but there is no mention of official repositories that you can use, so you can get automatic updates in every Atom version.
There YesHowever, the official Atom repository of certain Linux distributions, such as Ubuntu, Debian, Fedora, Red Hat, CentOS, and openSUSE.The official apt/dnf/yum/zypp Atom repository is Fired As early as December, Atom users were provided with Christmas gifts, and only 64-bit binary files were provided. I don’t see this on most websites, instead, I recommend using third-party repositories, so I want to let you know the actual official Atom Linux repositories, just in case you don’t understand them, just like me Recently 🙂.

Add Atom Debian/Ubuntu APT repository

To add the official Atom APT repository (64-bit only) in Debian/Ubuntu/Linux Mint (and other Linux distributions that use apt/deb), use:

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

Now you can install Atom from the official Ubuntu/Debian repositories:

  • stable:
sudo apt install atom
  • Beta:
sudo apt install atom-beta

Add Fedora/Red Hat/CentOS Atom DNF/YUM repository

Add the official Atom DNF/YUM repository for Red Hat Enterprise Linux, Fedora, Oracle Linux, CentOS, Scientific Linux, or other distributions that use YUM or DNF package managers:

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

You can now install Atom using dnf (use yum Depends on your Linux distribution):

  • stable:
sudo dnf install atom
  • Beta:
sudo dnf install atom-beta

Add openSUSE Atom Zypp repository

To add the Atom openSUSE repository (or other Linux distribution using the Zypp package manager), use:

sudo sh -c 'echo -e "[Atom]nname=Atom Editornbaseurl=$basearchnenabled=1ntype=rpm-mdngpgcheck=0nrepo_gpgcheck=1ngpgkey=" > /etc/zypp/repos.d/atom.repo'
sudo zypper --gpg-auto-import-keys refresh

Now you can install Atom from the newly added repository:

  • stable:
sudo zypper install atom
  • Beta:
sudo zypper install atom-beta