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 https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' sudo apt update
Now you can install Atom from the official Ubuntu/Debian repositories:
sudo apt install atom
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 https://packagecloud.io/AtomEditor/atom/gpgkey sudo sh -c 'echo -e "[Atom]nname=Atom Editornbaseurl=https://packagecloud.io/AtomEditor/atom/el/7/$basearchnenabled=1ngpgcheck=0nrepo_gpgcheck=1ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/yum.repos.d/atom.repo'
You can now install Atom using
yum Depends on your Linux distribution):
sudo dnf install atom
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=https://packagecloud.io/AtomEditor/atom/el/7/$basearchnenabled=1ntype=rpm-mdngpgcheck=0nrepo_gpgcheck=1ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/zypp/repos.d/atom.repo' sudo zypper --gpg-auto-import-keys refresh
Now you can install Atom from the newly added repository:
sudo zypper install atom
sudo zypper install atom-beta