{"id":7103,"date":"2019-01-03T03:02:41","date_gmt":"2019-01-03T03:02:41","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=7103"},"modified":"2019-01-08T11:21:10","modified_gmt":"2019-01-08T11:21:10","slug":"how-to-install-atom-text-editor-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/03\/how-to-install-atom-text-editor-on-centos-7\/","title":{"rendered":"How To Install Atom Text Editor on CentOS 7"},"content":{"rendered":"<p><a href=\"https:\/\/atom.io\/\">Atom<\/a> is an open source cross-platform code editor developed by GitHub. It has a built-in package manager, embedded <a href=\"\/post\/how-to-install-git-on-centos-7\/\">Git<\/a> control, smart autocompletion, syntax highlighting and multiple panes.<\/p>\n<p>Under the hood Atom is a desktop application built on Electron using HTML, JavaScript, CSS, and <a href=\"\/post\/how-to-install-node-js-on-centos-7\/\">Node.js<\/a>.<\/p>\n<p>In this tutorial, we will install Atom Text Editor on CentOS from their official repositories.<\/p>\n<h2>Prerequisites<\/h2>\n<p>The user you are logged in as must have <a href=\"\/post\/create-a-sudo-user-on-centos\/\">sudo privileges<\/a> to be able to install packages.<\/p>\n<h2>Installing Atom on CentOS<\/h2>\n<p>Follow the steps below to install Atom on CentOS 7:<\/p>\n<ol>\n<li>Start by importing the Atom repository\u2019s GPG key:\n<p>sudo rpm &#8211;import https:\/\/packagecloud.io\/AtomEditor\/atom\/gpgkey<\/li>\n<li>Create the following repo file to enable the Atom repository:\n<p>sudo nano \/etc\/yum.repos.d\/atom.repo<\/p>\n<p>Paste the following content into the file:<\/p>\n<p>\/etc\/yum.repos.d\/vscode.repo<\/p>\n<p>[Atom]<br \/>\nname=Atom Editor<br \/>\nbaseurl=https:\/\/packagecloud.io\/AtomEditor\/atom\/el\/7\/$basearch<br \/>\nenabled=1<br \/>\ngpgcheck=0<br \/>\nrepo_gpgcheck=1<br \/>\ngpgkey=https:\/\/packagecloud.io\/AtomEditor\/atom\/gpgkey<\/p>\n<p>Save and close the file.<\/li>\n<li>Once the repository is enabled, install the latest version of Atom with:\n<p>Yum will prompt you to import the repository GPG key. Type y and hit Enter.<\/li>\n<\/ol>\n<h2>Starting Atom<\/h2>\n<p>Now that Atom is installed on your CentOS system you can launch it either from the command line by typing code or by clicking on the Atom icon (Applications -&gt; Programming -&gt; Atom).<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/lxer.com\/post\/how-to-install-atom-text-editor-on-centos-7\/centos-launch-atom.jpg\" alt=\"\" \/><\/p>\n<p>When you start the Atom editor for the first time, a window like the following should appear:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/lxer.com\/post\/how-to-install-atom-text-editor-on-centos-7\/centos-atom-text-editor.jpg\" alt=\"\" \/><\/p>\n<p>You can now start installing themes and extensions and configuring Atom according to your preferences.<\/p>\n<h2>Upgrading Atom<\/h2>\n<p>To upgrade your Atom installation when new releases are published, you can use the yum package manager normal upgrade procedure:<\/p>\n<h2>Conclusion<\/h2>\n<p>You have successfully installed Atom on your CentOS 7 machine. To learn more about how to use Atom, from beginner basics to advanced techniques, visit their official <a href=\"https:\/\/atom.io\/docs\">documentation<\/a> page.<\/p>\n<p>If you have any question, please leave a comment below.<\/p>\n<p><a href=\"http:\/\/lxer.com\/module\/newswire\/ext_link.php?rid=264401\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Atom is an open source cross-platform code editor developed by GitHub. It has a built-in package manager, embedded Git control, smart autocompletion, syntax highlighting and multiple panes. Under the hood Atom is a desktop application built on Electron using HTML, JavaScript, CSS, and Node.js. In this tutorial, we will install Atom Text Editor on CentOS &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/03\/how-to-install-atom-text-editor-on-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How To Install Atom Text Editor on CentOS 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7103","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=7103"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7103\/revisions"}],"predecessor-version":[{"id":7451,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7103\/revisions\/7451"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=7103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=7103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=7103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}