1. Download .deb file from https://atom.io/
2. Double click on the .deb file you downloaded. It will open Ubuntu Software center and then you can click on install button to install the Atom text editor on your computer.
3. If you love installing a software using command, type the following command
sudo dpkg -i xxxx.deb where xxxx is the name of the file you downloaded.