How to Install Atom Text Editor on Ubuntu 18.04
2 min read
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.
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 update
sudo apt install software-properties-common apt-transport-https wget
Next, 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 APT 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 atom
Now that Atom is installed on your Ubuntu system you can launch it either from the command line by typing
code or by clicking on the Atom icon (
Activities -> Atom).
When you start the Atom editor for the first time, a window like the following should appear:
You can now start installing themes and extensions and configuring Atom according to your preferences.
To upgrade your Atom installation when new releases are published, you can use the
package manager normal upgrade procedure:
sudo apt update
sudo apt upgrade
You have successfully installed Atom on your Ubuntu 18.04 machine. To learn more about how to use Atom, from beginner basics to advanced techniques, visit their official documentation page.
If you have any questions, please leave a comment below.