There are two ways to install Atom using a repository. The first is by added the repo to apt and the second is just using snap for installation.
Install Atom using apt
sudo add-apt-repository ppa:webupd8team/atom sudo apt update sudo apt install atom
Install Atom using snap If you have not installed snap yet:
sudo apt install snapd
Then install atom via snap
snap install --classic atom