Linux

How to Install Atom Text Editor on Ubuntu 20.04

How to Install Atom Text Editor on Ubuntu 20.04

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.

Under the hood, Atom is a desktop application built on top of Electron using HTML, JavaScript, CSS, and Node.js.

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:

  1. Update the packages list and install dependencies:
    sudo apt update sudo 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 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.

Starting Atom

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:

1122(2)

From here, you start installing themes and extensions and configuring the editor according to your preferences.

Conclusion

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.

Related posts

How to Install WordPress with Nginx on Ubuntu 20.04 LTS

Linux

How to Install Nagios on Ubuntu 20.04

Linux

How to Install and Use PHP Composer on Debian 10

Linux

How to delete a Terminal on Ubuntu and other Linux distributions

Linux

How to Monitor CPU Usage in Linux Over Time

Linux

How to Set Up WireGuard VPN on CentOS 8

Linux

How to Make a Minecraft Server on Ubuntu 20.04

Linux

How to Upgrade From Windows 7 to Linux

Howto

How to create files in Python and more

Linux