Atom is a sleek and feature-rich open source text editor from the makers of Github. The beautiful interface and the long list of features make it one of the best code editors for Linux or any other operating system out there.
Installing Atom on Ubuntu and other Linux distributions
Method 1: Install Atom using Snap

sudo snap install atom --classic
Snap packages are huge in size and the installed application is often slower at start up.
Method 2: Install Atom using DEB/RPM binaries
Atom can be easily installed using the DEB file available from its website.
Do note that this DEB installation file is for the 64-bit systems only. So if you have an older system, please check if you have a 32-bit system or a 64-bit system.
If you have a 64-bit system, simply head over to Atom website. You’ll see the option to download the DEB file on its homepage itself.

See, how easy it is to install Atom on Ubuntu if you have 64-bit system.
Method 3: Install Atom in Ubuntu via PPA (recommended for 32-bit system)
The deb install file is only available for 64-bit systems. The official way for 32-bit Ubuntu users is to download the source code and build it from the source code.
But installing software from source code is neither convenient nor easy for everyone. So what are your options here?
Thankfully, there is an unofficial PPA that allows you to easily install Atom on 32-bit Ubuntu systems.
Open a terminal and use the following commands:
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
That would be it. You can now happily use Atom on 32-bit systems.
Uninstall Atom installed via PPA
sudo apt-get remove atom
sudo add-apt-repository --remove ppa:webupd8team/atom
sudo apt-get autoremove