![]() While there is no official way to auto-update these binaries here is a ~/.bashrc (also compatible with the Zsh shell's ~/.zshrc file) snippet that will automatically check for available Atom updates and install them whenever one opens a terminal:ĪTOM_INSTALLED_VERSION=$(rpm -qi atom | grep "Version" | cut -d ':' -f 2 | cut -d ' ' -f 2)ĪTOM_LATEST_VERSION=$(curl -sL "" | grep -E "https.*" | cut -d '"' -f 4 | cut -d '/' -f 8 | sed 's/v//g') Sudo dnf install $(curl -sL "" | grep "https.*atom.x86_64.rpm" | cut -d '"' -f 4) To install Atom from the official RPM package provide by the Atom team (which is only suitable for 64-bit systems!) for the latest stable (as opposed to beta releases which are also packaged at RPMs) Atom release, run: ![]() Sudo sh -c 'echo -e "\nname=Atom Editor\nbaseurl=\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=" > /etc//atom.repo' This method allows for auto-updating and dependency resolution, and is the fastest.įor up to date instructions check Atom's page here By manually compiling its source code and installing the resulting RPM. Using official binary releases from the Atom development team (suitable for 64-bit systems only).ģ. ![]() There are three main ways of installing Atom:Ģ. tar.gz) binaries for 64-bit Linux, but not for 32-bit systems. Its development team provides Debian, RPM and tar (file extension. ![]()
0 Comments
Leave a Reply. |