What is the best way to upgrade atom on Linux Ubuntu ? I install atom using official doc
git clone https://github.com/atom/atom
cd atom
script/build
sudo
Now, it looks like the easiest way is to download the new packaged version (.deb or .rpm) from the official releases and install it over your previous one: https://github.com/atom/atom/releases
I created the following script to update my atom on Ubuntu 14.10.
#!/bin/bash
# Update atom from downloaded deb file
rm -f /tmp/atom.deb
curl -L https://atom.io/download/deb > /tmp/atom.deb
dpkg --install /tmp/atom.deb
echo "***** apm upgrade - to ensure we update all apm packages *****"
apm upgrade --confirm false
exit 0
The file atom_update is executable and needs to be called using su:
sudo ./atom_update
The above works, but nowadays I use the following:
sudo add-apt-repository -y ppa:webupd8team/atom
sudo apt -y update
sudo apt -y install atom
apm install \
file-icons \
tabs-to-spaces \
trailing-spaces \
xml-formatter
With the above setup
sudo apt -y upgrade
will update an installed atom to the latest version. The ppa is generally up to date.
Current official documentation seem to recommend another method:
Atom Github Page
Debian Linux (Ubuntu)
Atom is only available for 64-bit Linux systems.
- Download atom-amd64.deb from the Atom releases page.
- Run sudo dpkg --install atom-amd64.deb on the downloaded package.
- Launch Atom using the installed atom command.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Red Hat Linux (Fedora 21 and under, CentOS, Red Hat)
Atom is only available for 64-bit Linux systems.
- Download atom.x86_64.rpm from the Atom releases page.
- Run sudo yum localinstall atom.x86_64.rpm on the downloaded package.
- Launch Atom using the installed atom command.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Fedora 22+
Atom is only available for 64-bit Linux systems.
- Download atom.x86_64.rpm from the Atom releases page.
- Run sudo dnf install ./atom.x86_64.rpm on the downloaded package.
- Launch Atom using the installed atom command.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Latest Way is to first install $ apm install atom-updater-linux
then simply press Alt+Ctrl+U or go to Help and there is option for check for updates
An easier way is to install the atom-updater-linux from the packages on the atom website.
Go to edit > preferences > install and search for atom-updater-linux
or from the terminal:
apm install atom-updater-linux
This should check for updates after every launch and prompt you to install new updates.
wget https://atom.io/download/deb -O atom64.deb
sudo dpkg --install atom64.deb
or
wget https://atom.io/download/rpm -O atom64.rpm
sudo dnf install atom64.rpm
the above URLs redirect to https://atom-installer.github.com/