AMP AMP

How to install Atom editor on Rocky Linux 8.6

To Install Atom Editor On Rocky Linux 8.6

Introduction:

Atom is an open-source, multi-platform text editor developed as a modern and approachable tool, yet it is hackable to the core and lets us customize it to our demands.

Installation Procedure

Step 1: Check the installed version of OS by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Step 2: Now install Git and wget using the below command

[root@linuxhelp ~]# yum install wget git -y
Rocky Linux 8 - AppStream                                        2.4 MB/s | 8.8 MB     00:03    
Rocky Linux 8 - BaseOS                                           2.3 MB/s | 3.7 MB     00:01    
Rocky Linux 8 - Extras                                           9.5 kB/s |  11 kB     00:01    
Package wget-1.19.5-10.el8.x86_64 is already installed.
Dependencies resolved.
=================================================================================================
 Package                    Architecture     Version                   Repository           Size
=================================================================================================
Installing:
 git                        x86_64           2.31.1-2.el8              appstream           160 k
Installing dependencies:
 git-core                   x86_64           2.31.1-2.el8              appstream           4.7 M
 git-core-doc               noarch           2.31.1-2.el8              appstream           2.6 M
 perl-Error                 noarch           1:0.17025-2.el8           appstream            45 k
 perl-Git                   noarch           2.31.1-2.el8              appstream            77 k
 perl-TermReadKey           x86_64           2.37-7.el8                appstream            39 k

Transaction Summary
=================================================================================================
Install  6 Packages

Total download size: 7.7 M
Installed size: 38 M
Downloading Packages:
(1/6): git-2.31.1-2.el8.x86_64.rpm                               172 kB/s | 160 kB     00:00    
(2/6): perl-Error-0.17025-2.el8.noarch.rpm                       322 kB/s |  45 kB     00:00    
(3/6): perl-Git-2.31.1-2.el8.noarch.rpm                          520 kB/s |  77 kB     00:00    
(4/6): perl-TermReadKey-2.37-7.el8.x86_64.rpm                    486 kB/s |  39 kB     00:00    
(5/6): git-core-doc-2.31.1-2.el8.noarch.rpm                      905 kB/s | 2.6 MB     00:02    
(6/6): git-core-2.31.1-2.el8.x86_64.rpm                          1.1 MB/s | 4.7 MB     00:04    
-------------------------------------------------------------------------------------------------
Total                                                            1.6 MB/s | 7.7 MB     00:04     
Rocky Linux 8 - AppStream                                        1.6 MB/s | 1.6 kB     00:00    
Importing GPG key 0x6D745A60:
 Userid     : "Release Engineering <infrastructure@rockylinux.org>"
 Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.

Step 3: Now download atom editor package by using the below command

[root@linuxhelp mnt]#  wget https://github.com/atom/atom/releases/download/v1.18.0/atom.x86_64.rpm
--2022-07-11 17:32:58--  https://github.com/atom/atom/releases/download/v1.18.0/atom.x86_64.rpm
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/3228505/4d70d04e-5120-11e7-93f3-d127c12ca4ed?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220711T213258Z&X-Amz-Expires=300&X-Amz-Signature=b2fef0015af7e430852d679b74a6c759b15dc8c06048c2de0f45d4aa8b0d82e8&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=3228505&response-content-disposition=attachment%3B%20filename%3Datom.x86_64.rpm&response-content-type=application%2Foctet-stream [following]
--2022-07-11 17:32:58--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/3228505/4d70d04e-5120-11e7-93f3-d127c12ca4ed?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220711T213258Z&X-Amz-Expires=300&X-Amz-Signature=b2fef0015af7e430852d679b74a6c759b15dc8c06048c2de0f45d4aa8b0d82e8&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=3228505&response-content-disposition=attachment%3B%20filename%3Datom.x86_64.rpm&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128551353 (123M) [application/octet-stream]
Saving to: ‘atom.x86_64.rpm’

atom.x86_64.rpm          100%[===============================>] 122.60M  9.04MB/s    in 10s     

2022-07-11 17:33:09 (12.3 MB/s) - ‘atom.x86_64.rpm’ saved [128551353/128551353]

Step 4: Now install Atom locally by using the below command

[root@linuxhelp mnt]# yum localinstall atom.x86_64.rpm 
Last metadata expiration check: 0:01:11 ago on Mon 11 Jul 2022 05:32:24 PM EDT.
Dependencies resolved.
=================================================================================================
 Package                          Architecture Version                  Repository          Size
=================================================================================================
Installing:
 atom                             x86_64       1.18.0-0.1               @commandline       123 M
Installing dependencies:
 libXScrnSaver                    x86_64       1.2.3-1.el8              appstream           30 k
 m4                               x86_64       1.4.18-7.el8             baseos             221 k
 mailx                            x86_64       12.5-29.el8              baseos             256 k
 make                             x86_64       1:4.2.1-11.el8           baseos             497 k
 ncurses-compat-libs              x86_64       6.1-9.20180224.el8       baseos             327 k
 patch                            x86_64       2.7.6-11.el8             baseos             137 k
 postfix                          x86_64       2:3.5.8-4.el8            baseos             1.5 M
 redhat-lsb-core                  x86_64       4.1-47.el8               appstream           44 k
 redhat-lsb-submod-security       x86_64       4.1-47.el8               appstream           21 k
 spax                             x86_64       1.5.3-13.el8             baseos             215 k

Transaction Summary
=================================================================================================
Install  11 Packages

Total size: 126 M
Total download size: 3.2 M
Installed size: 423 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): libXScrnSaver-1.2.3-1.el8.x86_64.rpm                     100 kB/s |  30 kB     00:00    
(2/10): redhat-lsb-submod-security-4.1-47.el8.x86_64.rpm          63 kB/s |  21 kB     00:00    
(3/10): redhat-lsb-core-4.1-47.el8.x86_64.rpm                    114 kB/s |  44 kB     00:00    
(4/10): mailx-12.5-29.el8.x86_64.rpm                             623 kB/s | 256 kB     00:00    
(5/10): m4-1.4.18-7.el8.x86_64.rpm                               457 kB/s | 221 kB     00:00    
(6/10): patch-2.7.6-11.el8.x86_64.rpm                            1.3 MB/s | 137 kB     00:00    
(7/10): ncurses-compat-libs-6.1-9.20180224.el8.x86_64.rpm        2.0 MB/s | 327 kB     00:00    
(8/10): make-4.2.1-11.el8.x86_64.rpm                             869 kB/s | 497 kB     00:00    
(9/10): spax-1.5.3-13.el8.x86_64.rpm                             2.3 MB/s | 215 kB     00:00    
(10/10): postfix-3.5.8-4.el8.x86_64.rpm                          5.2 MB/s | 1.5 MB     00:00    
-------------------------------------------------------------------------------------------------
Total                                                            1.1 MB/s | 3.2 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Installed:
  atom-1.18.0-0.1.x86_64                    libXScrnSaver-1.2.3-1.el8.x86_64                     
  m4-1.4.18-7.el8.x86_64                    mailx-12.5-29.el8.x86_64                             
  make-1:4.2.1-11.el8.x86_64                ncurses-compat-libs-6.1-9.20180224.el8.x86_64        
  patch-2.7.6-11.el8.x86_64                 postfix-2:3.5.8-4.el8.x86_64                         
  redhat-lsb-core-4.1-47.el8.x86_64         redhat-lsb-submod-security-4.1-47.el8.x86_64         
  spax-1.5.3-13.el8.x86_64    

Step 5: Open atom application by using the below command

[root@linuxhelp mnt]# atom

Step 6: Now atom application will be on your screen as shown in the below image

Step 7: Create the project setup page as shown in the below image

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Atom editor On Rocky Linux 8.6. Your feedback is much welcome.

FAQ
Q
What is an atom editor?
A
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.
Q
How to install the Atom Editor package in Rocky Linux?
A
Run the following command:#yum local install atom.x86_64.rpm
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.
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
What is the best alternative to Atom?
A
Alternative for this,"Visual Studio Code,Sublime Text,Emacs".