Hamsa K
4 min read | 3 years ago

How to Install Atom Text Editor on Ubuntu 20 04

Install Atom Text Editor on Ubuntu 20.04

Atom is a free and open-source text and source code editor for macos, Linux, and Microsoft Windows with support for plug-ins written in javascript, and embedded Git Control, developed by GitHub. Atom is a desktop application built using web technologies.

In this article we would discuss how to install Atom text editor on ubuntu 20.04 Lts system.

we can install Aom text editor by diffrent methods. First we will install using snap.

Also Read -> How to Install NodeJs and npm on Ubuntu 20 04

using snapd

First we will update packages using followinf apt command.

sudo apt update

Next install atom editor using snapd

sudo snap install atom --classic

once Atom editor is installed on your system,you can launch it either from command line by typing atom or by clicking on Atom icon (Activities ->Atom).

Also Read -> How to Install Android Studio on Ubuntu 20 04

using Atom repository

we will install necessary packages using the following commands.

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

Add Atom official package repository to your system using below commands.

wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'

once repository is enabled, refresh apt and install atom.

sudo apt update 
sudo apt install atom

Also Read -> How to Install MySQL Workbench on Ubuntu 20 04

using deb package

download deb package from Atom offcial website as below.

wget https://github.com/atom/atom/releases/download/v1.53.0/atom-amd64.deb

once file is downloaded, you can install it with the following command.

sudo dpkg -i atom-amd64.deb

you may get below error due to dependency issues.

Error: Errors were encountered while processing:atom

Then run following command to install it.

sudo apt install -f

Start Atom

you can launch it either from the command line by typing 'atom' or by clicking on the Atom (Activities -> Atom).

Warning! This site uses cookies
By continuing to browse the site, you are agreeing to our use of cookies. Read our terms and privacy policy