How to Install Atom, an Advanced Text Editor in Linux

Linux has some popular text editor and the one on the list is atom. Atom is an advanced open source text and source code editor built on Electron and developed by GitHub. Atom is a multi-platform editing tool that works on OS X, Windows, or Linux. This would be the best tool for programmers as it supports smart autocompletion, file system browser and split Atom interface into multiple panes. Find/replace on files or all projects is another nice feature of this tool.

1) Download Atom

Atom can be downloaded as packages or from source.

On Ubuntu, you can download as below:

# wget
--2017-11-28 18:24:50--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found

On centos

# wget
--2017-11-28 18:38:45--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found

2) Install atom

Now that we have downloaded atom, we can install it

Arch Linux 2017.11.01

On Arch Linux 2017, atom can be download directly via the pacman command

# pacman -Sy atom
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
resolving dependencies...
looking for conflicting packages...

Packages (12) apm-1.18.10-2  c-ares-1.13.0-1  electron-1.6.15-1  http-parser-2.7.1-1  libevent-2.1.8-1  minizip-1:1.2.11-2  nodejs-9.2.0-1
              npm-5.5.1-2  re2-20170801-1  semver-5.4.1-1  snappy-1.1.7-1  atom-1.22.1-1

Total Download Size:    69.06 MiB
Total Installed Size:  328.78 MiB

:: Proceed with installation? [Y/n] y

Ubuntu 16.04

Go to the folder where you downloaded the deb package, then use the dpkg command

# dpkg -i atom-amd64.deb 
Selecting previously unselected package atom.
(Reading database ... 444827 files and directories currently installed.)
Preparing to unpack atom-amd64.deb ...
Unpacking atom (1.22.1) ...
Setting up atom (1.22.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...

Centos 7

On Centos 7 atom needs some dependencies to be installed so, we will need to use the yum command to install the .rpm package downloaded earlier

# yum install atom.x86_64.rpm 
Loaded plugins: fastestmirror, langpacks
Examining atom.x86_64.rpm: atom-1.22.1-0.1.x86_64
Marking atom.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package atom.x86_64 0:1.22.1-0.1 will be installed
--> Processing Dependency: lsb-core-noarch for package: atom-1.22.1-0.1.x86_64
Loading mirror speeds from cached hostfile
Dependencies Resolved

 Package                       Arch      Version                 Repository       Size
 atom                          x86_64    1.22.1-0.1              /atom.x86_64    414 M
Installing for dependencies:
 libXScrnSaver                 x86_64    1.2.2-6.1.el7           base             24 k
 redhat-lsb-core               x86_64    4.1-27.el7.centos.1     base             38 k
 redhat-lsb-submod-security    x86_64    4.1-27.el7.centos.1     base             15 k
 spax                          x86_64    1.5.2-13.el7            base            260 k

Transaction Summary
Install  1 Package (+4 Dependent packages)

Total size: 414 M
Total download size: 336 k
Installed size: 414 M

3) Launch atom

Now that atom is installed, you can launch it

Now you can choose atom and start to use it

Now that atom is installed, you can try each feature offered by this tool.

Alain Francois 12:05 am

About Alain Francois

IT Linux administrator passionate of free and open source software, I work on Linux Systems since some years on installations and deployments of certain solutions. I like to share my experiences with a wider audience by training and conferences.

Author Archive Page

Have anything to say?

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

All comments are subject to moderation.