How to Install Atom Text Editor in Ubuntu / CentOS / RHEL

Atom is a free and open source text editor for Windows, MacOS and Linux like operating system. It is based on Electron (CoffeeScript /Javascript/HTML)) and can also be be used as IDE (integrated development environment). Atom is developed and maintained by GitHub Inc. and is also known as “hackable text editor for the 21st Century

Some of the unique features of Atom are listed below

  • Support Cross Platform Editing – Atom is platform independent so we can use it on MacOS, Windows and Linux
  • Smart Autocompletion – It helps us to develop the code faster with smart and flexible autocomplete feature
  • Built-in Package Manager – We can install new package and can create our own packages with in the Atom
  • File system Browser – From atom window we can easily browse a file, project or multiple projects.
  • Find and Replace – Atom supports easy way to find, preview and replace text in a file or across all your projects.
  • Support Multiple Panes – We can easily split atom interface into multiple panes to compare and to edit code across the files.

Installation steps of Atom text editor on Ubuntu / Linux Mint / Debian

Atom Debian package is not available in the default Ubuntu and Linux Mint repositories. So we will configure Atom Official repository. Open the terminal and run the following commands one after the another

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

Use the beneath command to install Atom Text Editor along with its required dependencies

[email protected]:~$ sudo apt install atom -y

Alternate Way to Install Atom on Ubuntu and Linux Mint

We can also easily install atom text editor using snap using utility, steps are shown below:

[email protected]:~$ sudo apt install snapd
[email protected]:~$ sudo snap install atom --classic

Access the Atom Now

Access-Atom-Text-Editor-Ubuntu

Click on Atom icon

Atom-Text-Editor-Ubuntu-Linux

Installation Steps of Atom Text Editor on CentOS / RHEL 

Atom rpm package is not available in the default CentOS and RHEL repositories. So we will download its RPM package from its official package.

Open the terminal and run the following command one after the another.

[[email protected] ~]# yum install wget git -y
[[email protected] ~]# wget https://atom.io/download/rpm -O atom.x86_64.rpm
[[email protected] ~]# yum localinstall atom.x86_64.rpm -y
or 
[[email protected] ~]# dnf localinstall atom.x86_64.rpm -y

That’s all from this article. Please share your feedback and comments.

3 Responses

  1. Danny says:

    wow thanks, it works well

  2. Vasconcelos says:

    Thanks it works

  3. Leelee says:

    Exactly what I needed. Thank you!

Leave a Reply

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

Pin It on Pinterest