How To install Atom Text Editor on Ubuntu

How To Install Atom Editor On Ubuntu 18.04

Introduction

Atom is an open source and free text and source code editor developed by GitHub. It is designed to run on Linux, macOS and Microsoft Windows. Atom is a desktop application which was built using web technologies, the look can be customized using CSS and HTML also JavaScript. Atom text editor is supported by communities which created thousand themes and packages.

Atom Text editor stable version while this article is written is version 1.42.0, released on December 16, 2019. This version contain any improvement from previous version, ie : Add appropriate punctuation scopes to various characters in HTML, syntax highlighting for Ruby and Java Script, etc. The detail improvement can be found on Atom release notes (https://github.com/atom/atom/releases/tag/v1.42.0).

Atom Text Editor Features

Atom Text editor has several features which distinguishes it from the others, as listed below :

  • Cross-platform editing, Atom works across operating systems. Use it on OS X, Windows, or Linux.
  • Built-in package manager, Search for and install new packages or create your own right from Atom.
  • Smart autocompletion, Atom helps you write code faster with a smart and flexible autocomplete.
  • File system browser, Easily browse and open a single file, a whole project, or multiple projects in one window.
  • Multiple panes, Split your Atom interface into multiple panes to compare and edit code across files.
  • Find and replace, Find, preview, and replace text as you type in a file or across all your projects.

Atom Installation

In this article we will show you how to install Atom on Ubuntu 18.04 by enabling the Atom repository and install the Atom package through the command line. The installation itself will take several steps as follow :

  1. Prerequisite
  2. Download and Enable Atom Repository
  3. Install Atom on Ubuntu
  4. Use Atom text editor for the first time

Prerequisite

The first step on installing Atom is to ensure having a user with sudo privilige to install packages, internet connection and also the sufficient space.

Download and Enable Atom Repository

Download Atom text editor from original source to ensure the right and secure binary file, by using the wget command line, as below after that enable the Atom Repo.

ramans@ubuntu:~$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
[sudo] password for ramans:
 OK
 ramans@ubuntu:~$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' 
Atom Repository has been added to our Ubuntu repos

We have to update first our Ubuntu to ensure the latest changes has been applied, including the Atom repo addition, by submitting command below :

ramans@ubuntu:/etc/apt/sources.list.d$ sudo apt-get update

Install Atom on Ubuntu

The Atom text editor installation was completed done we can verify it by querying it version by submitting command below :

ramans@ubuntu:~$ atom --version
Atom    : 1.42.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

Using Atom Text Editor For The first TIme

We can call the Atom Editor from program manager by entering Atom word on the browser, then double click the Atom icon after the its icon appeared (Activities –> Atom).

How to install Atom text editor on Ubuntu | Atom first time running

Share this article via :

Leave a Reply

Your email address will not be published. Required fields are marked *