install atom ubuntu 18.04 code example
Example 1: install atom ubuntu 18
$ wget -O atom-amd64.deb https://atom.io/download/deb
sudo apt install gdebi-core
sudo gdebi atom-amd64.deb
Example 2: download atom for ubuntu 18.04
sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"
Example 3: download atom for ubuntu 18.04
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -