How to install Atom Editor on CentOS 7

To install Atom Editor on CentOS 7

If you are looking for a single code editor which is capable of performing several functions, a feature uncommon in a normal text editor, then Atom is the application for you. Atom is open-source, multi-platform text editor. It is built as a modern and approachable tool, yet it is hackable to the core and lets you customize to your needs. It is designed with an intuitive interface and is packed with a bunch of features for writing such as CSS, HTML, JavaScript and other web programming languages. Also, it can be used for editing source code for OS X, Linux, and Windows.This tutorial will guide you through the installation process of Atom Text Editor on CentOS 7. But, before we begin with the installation of the Atom Editor, check out its features below.


Features

  • Improved soft-wrapping algorithm
  • Has built-in package manager
  • Splits Atom interface into multiple panes for quick code writing
  • Supports file system browser
  • Supports Drag and Drop Options

Installing Pre-requisites

The installation of Atom Text Editor requires prior installation of Git on your machine, so run the following command to install it.

[root@localhost Desktop]# yum install wget git -y
Loaded plugins: fastestmirror, langpacks
base                                                                | 3.6 kB  00:00:00     
epel/x86_64/metalink                                                | 6.4 kB  00:00:00     
epel                                                                | 4.3 kB  00:00:00     
extras                                                              | 3.4 kB  00:00:00     
updates                                                             | 3.4 kB  00:00:00     
(1/4): extras/7/x86_64/primary_db                                   | 168 kB  00:00:01     
.
.
.
Dependency Installed:
  perl-Error.noarch 1:0.17020-2.el7             perl-Git.noarch 0:1.8.3.1-6.el7_2.1        
  perl-TermReadKey.x86_64 0:2.30-20.el7        

Updated:
  wget.x86_64 0:1.14-13.el7

Installing Atom Text Editor

Download the Atom editor package from below link.

[root@localhost Desktop]# wget https://github.com/atom/atom/releases/download/v1.18.0/atom.x86_64.rpm
--2017-06-18 06:11:07--  https://github.com/atom/atom/releases/download/v1.18.0/atom.x86_64.rpm
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
.
.
.
Length: 128551353 (123M) [application/octet-stream]
Saving to: ‘ atom.x86_64.rpm’ 
100%[================================================> ] 12,85,51,353  641KB/s   in 3m 1s  
2017-06-18 06:14:10 (695 KB/s) - ‘ atom.x86_64.rpm’  saved [128551353/128551353]

Once the file is downloaded, install the Atom Editor package as follows.

[root@localhost Desktop]# yum localinstall atom.x86_64.rpm -y
Loaded plugins: fastestmirror, langpacks
Examining atom.x86_64.rpm: atom-1.18.0-0.1.x86_64
Marking atom.x86_64.rpm to be installed
Resolving Dependencies
-->  Running transaction check
--->  Package atom.x86_64 0:1.18.0-0.1 will be installed
.
.
.
  redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1                                             
  redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1                                  
  spax.x86_64 0:1.5.2-13.el7                                                               
Complete!

Atom editor has been installed, launch it from your terminal by running the following command Launch the atom editor from command prompt.

[root@localhost Desktop]# atom

The Atom application appears on your screen.

You can now easily create text documents are manage source sodes by using this Atom Editor.

It was a simple installation process, wasn' t it? The themes in Atom editor can also be changed. You can change both the editor themes as well as the syntax theme. Making Atom text editor one truly customizable text editor.

Tag : Atom Ubuntu
Comment
seancasaus
Jul 13 2017
looks like .rpm version of Atom does not include libsecret in the install. Might want to add the fix for this to the tutorial for those that do not have it when trying to follow this.
Add a comment
FAQ
Q
How to install the Atom Editor package in CentOS?
A
Run the following command:
#yum localinstall atom.x86_64.rpm
Q
How to instll atom debian package?
A
run the following commands as shown below
"# apt-get install gdebi

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

# gdebi atom-amd64.deb".
Q
What is the best alternative to Atom?
A
Alternative for this
"Visual Studio Code
Sublime Text
Emacs".
Q
What platforms does Atom run on?
A
Prebuilt versions of Atom are available for OS X 10.9 or later, Windows 7 or later, RedHat Linux, and Ubuntu Linux.

If you would like to build from source on Windows, Linux, or OS X
Q
Why does Atom collect usage data?
A
In the same way that aggregate usage information is important when developing a web application, we've found that it's just as important for desktop applications.