Install Atom Editor on Ubuntu 20.04 - Step by step process ?

Atom is a cross-platform, open-source code editor which is developed by GitHub. It contains built-in tools such as Git control, syntax highlighting auto completion, and multiple panes. It is a desktop-based application, supports various plugins that are written in Node.Js and other languages. 

Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Software Installation tasks on Ubuntu Linux Servers.

In this context, we shall look into different methods to install the Atom text editor on your Ubuntu 20.04 system.


How to install Atom Editor on Ubuntu 20.04 ?

Ensure that all commands are executed under the root or administrative privileges.

You can install Atom Editor on the Ubuntu system by using the following two different methods:

1. Install Atom Editor from apt Package Manager

2. Install Atom Editor using Snap


Method 1. Install Atom Editor from apt Package Manager

Atom is available in the apt repository of Ubuntu 20.04. 

So, install Atom Editor directly using the apt package manager. 

Open the Terminal application by pressing the keyboard shortcut keys 'Ctrl + Alt + t'. 

To install Atom using the apt repository, follow the below-mentioned steps.


1. Install dependencies

Update the apt packages repository and then, install all the required dependencies by running the below-given command:

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

The confirmation prompt interrupts the installation procedure. Press 'y' and then enter to install all required dependencies.


2. Import GPG key

First, import the GPG key of the apt repository by executing the following command:

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

When the GPG key will import, the 'OK' status shows on the terminal after running the above command. 

It represents that the GPG key of the desired repository has been imported into your system.

The following command activates or enables the apt repository on your Ubuntu 20.04 system:

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


3. Install Atom Editor

Once the repository is activated or enabled, type the following command to install the latest available version of Atom Editor:

$ sudo apt install atom

Type 'y' and then press 'Enter' to proceed with the installation process.

The installed version of Atom Editor can be updated through the command-line or using the Software update tool from your desktop application.


4. Launch Atom Editor

Once the Atom editor is installed, launch it by clicking on the Activities and type 'atom' in the application search bar. The atom editor icon displays on the desktop in the search result.

When you launch Atom editor the first time on your system, the Welcome Guide Window will be displayed on the desktop.


How to uninstall Atom Editor from Ubuntu system ?

If you don't want to use more the Atom Editor then, you can easily uninstall this application by executing the following command:

$ sudo apt remove atom

After running the above command, the confirmation dialog appears on the terminal. Press 'y' and then hit 'Enter' in order to uninstall the Atom Editor from your system.


Method 2. Install Atom Editor using snap

Atom Editor can also be installed using the snap package manager. It includes all the binary dependencies of all packages that are required to run an application. 

Ensure that snap is installed on your system and run the below-mentioned command to install the Atom editor through the snap:

$ sudo snap install atom --classic

It will take time to complete the installation process. 

Once Atom installation is complete, you can start it on your Ubuntu 20.04 system.

When the latest version is released of Atom editor snap will automatically update the application in the background.


[Need urgent assistance in fixing missing packages on Ubuntu Linux Systems? We are available to help you. ]

This article covers the different methods to install Atom editor on Ubuntu 20.04 system. Atom is an open-source text and source code editor for Windows, Linux, and macOS, developed by GitHub. 

It is called "A hackable text editor for the 21st century" due to being a highly customizable text editor.


To Install Atom Editor using Snap:

1. First, install the Snap package manager on your system if it is not already installed.

$ sudo apt update && sudo apt install -y snapd

2. Then, install Atom editor with the snap command.

$ sudo snap install atom --classic

Related Posts