How to install the Atom Text Editor on Ubuntu 20.04

s2 0

atom
is an open source, cross-platform code editor developed by GitHub. It has a built-in package manager, embedded Git control, smart autocomplete, syntax highlighting, and multiple windows.

Under the hood Atom is a desktop application that is based on Electron and uses HTML, JavaScript, CSS and Node.js.

This guide shows two ways to install Atom on Ubuntu 20.04. Atom can be installed as a snap package from the Snapcraft store or as a deb package from the Atom repositories.

Choose the installation method that works best for your environment. The same instructions apply to any Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS.

Install Atom as a snap package

The Atom snap package is distributed and managed by Github.

Snaps are self-contained software packages that contain the binary file with all of the dependencies necessary to run the application. Snap packages are easy to update and secure. In contrast to the standard Deb packages, Snaps have a larger memory footprint and a longer application start time.

Snap packages can be installed either from the command line or from the Ubuntu software application.

To install the Atom snap, open your Terminal (Ctrl+Alt+T) and run the following command:

sudo snap install atom --classic

That’s it. Atom has been installed on your Ubuntu desktop and you are ready to use it.

Whenever a new version is released, the Atom snap package is automatically updated in the background.

If you are unfamiliar with the command line, open the Ubuntu software, search for “Atom” and install the application.

Install Atom with apt

Atom is available in the Packagecloud Apt repositories. To install it, do the following:

  1. Update the package list and install the dependencies:

    sudo apt updatesudo apt install software-properties-common apt-transport-https wget
  2. 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"
  3. Once the repository is activated, install the latest version of Atom:

    sudo apt install atom

When a new version is released, you can update Atom using the command line or your desktop software update tool.

Start atom

Enter “Atom” in the activity search bar and click the icon to launch the application.

The first time you start the Atom Editor, a window like the following should appear:

From here you start installing themes and extensions and configure the editor according to your needs.

diploma

We showed you how to install Atom on Ubuntu 20.04. To learn more about using Atom, from beginner basics to advanced techniques, visit the official one documentation
Page.

If you have any questions please leave a comment below.