Atom editor is an open-source free source code as well text editor that you can use almost all operating distributions such as Linux, Windows, and macOS.
It supports different plugins written in Node.js and other languages.
It has an integrated development environment in which you can extend the default atom editor’s features by installing some new additional packages.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Software Installation tasks on CentOS Linux Systems.
In this context, we shall look into how to install an Atom editor on CentOS 8.
To begin, ensure that you Use root user to execute all commands for installation.
The atom editor installation can be completed into the following steps.
1. Download RPM Package
Open the terminal application using the 'Activities' menu. Update the CentOS 8 packages repository by running the below-given command:
$ sudo dnf update
To install the atom editor, download the rpm package. This rpm package is not available in the default CentOS 8 repository.
However, the rpm package can be downloaded from the atom editor official page.
Execute the below-mentioned command to download the rpm package for atom editor:
$ wget https://atom.io/download/rpm -O atom.x86_64.rpm
Once the rpm file is downloaded, it stores in your system's home directory.
2. Install Atom editor on CentOS 8
Now, you have an rpm file through which you can install an Atom editor on your system. The rpm file can be installed using the 'dnf' or 'yum' command.
So, use the following command to install the atom editor package on CentOS 8:
$ sudo dnf localinstall atom.x86_64.rpm
Press 'y' and 'Enter' for continuing the installation process.
In a while, the installation takes a few minutes to complete on your system.
3. Launch Atom editor on CentOS 8
Installation of atom editor is completed now on your system CentOS 8.
To launch the atom editor you can use the application dash.
So, access the search bar and type the 'atom' keyword in it.
Click on the 'Atom editor' application icon and launch it on your system.
If you do not need to use atom editor more on your system, you can remove it from your CentOS 8 distribution by executing the below-given command:
$ sudo dnf remove atom
Complete this process by pressing 'y' and then 'Enter'.
This article covers how to install atom editor on CentOS 8 using the command-line application.
Atom is a free and open-source text and source code editor for OS X, Linux, and Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub
To install latest version of Atom using .rpm package on your CentOS 8 machine:
1. First, go to the Atom official website and download the Atom .rpm package:
# sudo curl -SLo atom.x86_64.rpm https://atom.io/download/rpm
2. You can now install Atom using dnf command:
# sudo dnf localinstall atom.x86_64.rpm
3. Now that Atom is installed on your CentOS system you can launch it from the command line by typing atom or by clicking on the Atom icon (Applications -> Programming -> Atom).