Atom is an open source cross-platform code editor developed by GitHub. It has a built-in package manager, embedded Git control, smart autocompletion, syntax highlighting and multiple panes.
Under the hood Atom is a desktop application built on Electron using HTML, JavaScript, CSS, and Node.js.
The easiest and recommended way to install Atom on Ubuntu machines is to enable the Atom repository and install the Atom package through the command line.
Although this tutorial is written for Ubuntu 18.04 the same instructions apply for Ubuntu 16.04 and any Debian based distribution, including Debian, Linux Mint and Elementary OS.
Prerequisites
The user you are logging in as must have sudo privileges to be able to install packages.
Installing Atom on Ubuntu
Perform the following steps to install Atom on your Ubuntu system:
Start by updating the packages list and install the dependencies by typing:
sudo apt updatesudo apt install software-properties-common apt-transport-https wgetNext, import the Atom Editor GPG key using the following wget command:
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -And enable the Atom repository by typing:
sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"Once the repository is enabled, install the latest version of Atom with:
sudo apt install atomSource: https://linuxize.com/post/how-to-install-atom-text-editor-on-ubuntu-18-04/