How to install Atom Text Editor on Ubuntu 20.04?

Overview

GitHub created the cross-platform, open-source code editor known as Atom. It offers several features such as a built-in package manager, embedded Git management, intelligent autocompletion, and syntax highlighting. Atom is a desktop application that is powered by Electron and created with HTML, JavaScript, CSS, and Node.js.

This guide demonstrates the method for installing Atom on Ubuntu 20.04. It can be installed from its official repositories as a deb package.

Prerequisites

There are certain prerequisites that need to be met before you begin.

  • Ubuntu 20.04 LTS configured on your system.

  • Non-root sudo user privileges.

  • Working knowledge of Ubuntu Command-Line Interface.

Get Started

. Atom is accessible through the Packagecloud Apt repository. To start the installation, update your apt packages.

sudo apt update

2. Then, install the necessary dependencies using wget.

sudo apt install software-properties-common apt-transport-https wget

3. Pipe the output of the Atom GPG key downloaded using wget to apt-key.

wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -

4. Then, include the Atom repository in your list of APT sources.

sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"

5. Install the latest version of Atom when the repository has been included, using the following command.

sudo apt install atom

6. Check the version details of Atom using the following command:

atom -v

Conclusion

You have successfully installed Atom on your Ubuntu 20.04 local machine. Visit Atom's official documentation page to learn more about how to use it, from fundamentals for beginners to advanced methods.

Last updated