One line command to install Atom editor on Ubuntu 20.04 LTS
Atom text editor is an editor for 21st century providing different features such as, works with Git and GitHub directly, allowing smart autocompletion, file system browser, built in pacakge manager etc.
Instead of struggling to get it installed with multiple lines of command, you can install atom from the snap store. Type following in terminal that will install atom on your Ubuntu OS.
sudo snap install atom --classic
A snap is a bundle of an app and its dependencies that works without modification across many different Linux distributions. Once new release available in snap store and to update it you can type
sudo snap refresh atom
You are now ready to use it, type atom in terminal or find it from applications.
NOTE: If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later version, you don’t need to do anything. Snap is already installed and ready to go. In another case if you don't have snap, install with following command
sudo apt update
sudo apt install snapd
Happy editing :)