Atom is a cross-platform open source code editor developed by GitHub. It has a built-in package manager, embedded Git controls, smart autocomplete, syntax highlighting, and multiple panels.
This guide shows two ways of installing Atom on Ubuntu 20.04. Atom can be installed as a snap package via the Snapcraft repository or as a deb package from the Atom repositories.
Select the installation method most suitable for your environment. The same instructions apply for any Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS.
Installing Atom as a Snap Package
Atomic snap package is distributed and maintained by Github.
Snaps are standalone software packages that include all binaries of dependencies needed to run the application. The Snap Pack is easy to upgrade and secure. Unlike standard deb packages, snaps have a larger disk footprint and longer application startup times.
The Snap package can be installed either from the command line or via the Ubuntu Software application.
To install Atom snap, open your terminal (Ctrl + Alt + T) and run the following command:
sudo snap install atom --classic
There she is. Atom is pre-installed on your Ubuntu desktop, and you can start using it.
Whenever a new version is released, Atom’s snap pack will be updated automatically in the background.
If you are not comfortable with the command line, open the Ubuntu Software, search for “Atom” and install the application.
Install Atom with apt
Atom is available from the Packagecloud Apt repositories. To install it, follow the steps below:
- Update the packages list and install dependencies:
sudo apt update sudo apt install software-properties-common apt-transport-https wget
- Import the repository GPG key and enable the Apt repository:
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add - 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:
sudo apt install atom
When a new version is released, you can update Atom via the command line or your desktop’s Software Update tool.
In the Activity search bar, type “Atom” and click the icon to launch the application.
When you start the Atom editor for the first time, a window like the following will appear:
From here, you start installing themes and extensions and configuring the editor according to your preferences.
We’ve shown you how to install Atom on Ubuntu 20.04. To learn more about how to use Atom, from beginner basics to advanced techniques, visit their official documentation page.
If you have any questions, feel free to leave a comment below.