Last active
September 26, 2015 16:34
-
-
Save fabiofdsantos/fafce2ecbe8634398cc8 to your computer and use it in GitHub Desktop.
How to update Atom Editor on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest | |
wget --progress=bar -q $(awk -F '[<>]' '/href=".*atom-amd64.deb/ {match($0,"href=\"(.*.deb)\"",a); print "https://github.com/" a[1]} ' /tmp/latest) -O /tmp/atom-amd64.deb --show-progress | |
dpkg -i /tmp/atom-amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment