How to install and use Atom editor on CentOS 8

Atom is an open source, free source text editor that is used for macOS, Microsoft Windows, Linux and provides support for various plugins written in Node.js. It has a built in Git control developed by GitHub. It is a desktop application built using various web technologies.

In this article, you will learn how to install and use the Atom text editor on CentOS 8.0.

Steps to Install Atom Text Editor on CentOS 8

To install the Atom text editor on your system, you need to follow these steps:

  1. Open a terminal window from the “Actions” that you see in the upper left corner of your desktop in CentOS 8.0.
  2. To install the Atom text editor, you need to be logged in as the root user. Type su on a terminal.

Download the Atom text editor as rpm file.

You are logged in as administrator or root. You will now download the latest version of the Atom text editor on your system. A new release of the Atom editor is available at the specified URL page. https://atom.io/.

Download the latest Atom text editor using curl command. The basic syntax for curl command is below:

$ curl -SLo atom.rpm https://atom.io/download/rpm

You will run the above command on a terminal.

Once the boot process is complete, you can ensure that the name of the rpm file with ‘atom.rpm’ is saved in your system home directory.

Install Atom Text Editor

You will now install the downloaded file on your CentOS 8.0. You can install the rpm file using the “yum” or “dnf” command. Enter the following command in a terminal to install the Atom text editor on your system:

$ dnf localinstall atom.rpm

Install Atom Editor

Confirm installation

During installation, a confirmation message will appear in the terminal window. You will type “y” and then press the “Enter” key to continue installing the Atom text editor on your system. After a while, you will see that all dependencies have been downloaded and installed on your system.

Installation of Atom editor was successful

Launch Atom Text Editor on CentOS 8.0

Installation completed. Now it’s time to launch the Atom text editor on your system. You can launch the Atom text editor from the search bar on your system desktop.

Enter the word “atom” in the search bar. You will see that the Atom text editor icon will be displayed on your system desktop.

Atom Editor Icon

Atom text editor is running on your CentOS 8.0. You can now use the Atom text editor on your system.

How to use the Atom text editor

The Atom text editor has many features, but here we will only discuss the basic usage of this editor. Using the Atom text editor, you can open and create files of various types like python, java, PHP, Html, etc.

Atom editor launched

Create a new project in Atom text editor

You will go to the File menu and choose New File from all the options. and save it with your desired code extension. Here I will create a simple new “hello world” python program. So, I kept the file name test.py. Now paste the code into the file as you can see in the image below:

New project

Output

In this article, you learned how to install the Atom text editor on CentOS 8.0. You also learned how we can create a new project using this tool. Now, I hope you can explore the new features of the Atom text editor on your system. In case of any questions, please leave a comment below in the comment box.

How to install and use Atom editor on CentOS 8

Sidebar