
Atom is a free and open source cross-platform code editor developed by GitHub. It It includes support package manager, Node.js plugins, embedded Git control, smart auto-completion, syntax highlighting and multiple panes. Atom is a desktop application built using web technologies. Atom is based on Electron a framework that enables cross-platform desktop applications using Chromium and Node.js. It is written in CoffeeScript and Less. In this tutorial, described how to install Atom Text Editor on CentOS system.
Prerequisites
Before you start installing Atom on CentOS system, you should logged in as a non-root user with sudo privileges.
Install Atom on CentOS
Perform the below steps to install Atom on your CentOS 7 system:
At first, Import GPG key of the repository using following command:
sudo rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey
After that make repo file as following to enable the Atom repository:
sudo nano /etc/yum.repos.d/atom.repo
Add the below content in to that file:
[Atom] name=Atom Editor baseurl=https://packagecloud.io/AtomEditor/atom/el/7/$basearch enabled=1 gpgcheck=0 repo_gpgcheck=1 gpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey
Save and close the file.
Finally, once the repository enabled you have to type below command to install Atom on your system:
sudo yum install atom
That’s it. You have successfully install Atom on your CentOS desktop and it’s ready to use.
Starting Atom
Now Atom is ready to start it using your system terminal by typing atom
or your can launch from Applications -> Programming -> Atom
menu.
When you launch Atom editor first time it will look like as below:
Update Atom Text Editor
You can update the Atom when a new version is published. You can update it through yum package manager.
sudo yum update
Conclusion
You have successfully installed Atom on your CentOS 7 system. You also can customize your Atom editor by installing plugins. If you would like to get more details about Atom visit the official Atom documentation page.
If you have any question or suggestion, please leave comment below.
Leave a Reply