Install Atom Text Editor in Pisi Linux 2.0

Today we will install the Atom Text Editor in Pisi Linux 2.0.

What is the Atom Text Editor?

Atom is a text editor that’s modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.

Cross-platform editing

Atom works across operating systems. You can use it on OS X, Windows, or Linux.

Built-in package manager

Search for and install new packages or start creating your own—all from within Atom.

Smart autocompletion

Atom helps you write code faster with a smart, flexible autocomplete.

File system browser

Easily browse and open a single file, a whole project, or multiple projects in one window.

Multiple panes

Split your Atom interface into multiple panes to compare and edit code across files.

Find and replace

Find, preview, and replace text as you type in a file or across all your projects.

To build Atom Text editor in Pisi Linux you need:

C++ toolchain

Git

nodejs

npm

libgnome-keyring-devel

To install it open a Terminal and write at the first:

sudo pisi it -c system.devel

as next

sudo pisi it git nodejs libgnome-keyring-devel

after install it you can download the source package from here: https://github.com/atom/atom/releases

or you can clone it from the GitHub see the instructions here: https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md

extract the tar.gz package with the command:

tar xf atom-x.x.x.tar.gz

after it change the Directory with the command:

cd atom-x.x.x

instead the x place the right numbers here.

After this you can start the building from the Editor open a Terminal in the Folder where you are also example: atom-1.7.3

and start the building with command

script/build

the building takes a while and looks so when it is ready:

 

 groni@groni_pisi_linux2 atom-1.7.3 $ script/build  
 Node: v4.1.2  
 npm: v2.13.3  
 Installing build modules...  
 => Took 5157ms.  
 Installing apm...  
 => Took 76811ms.  
 Deleting old packages...  
 => Took 614ms.  
 Installing modules ✓  
 Installing atom-dark-syntax@0.27.0 ✓  
 Installing atom-dark-ui@0.51.0 ✓  
 Installing atom-light-syntax@0.28.0 ✓  
 Installing atom-light-ui@0.43.0 ✓  
 Installing base16-tomorrow-dark-theme@1.1.0 ✓  
 Installing base16-tomorrow-light-theme@1.1.1 ✓  
 Installing one-dark-ui@1.2.0 ✓  
 Installing one-light-ui@1.2.0 ✓  
 Installing one-dark-syntax@1.2.0 ✓                                                        
 Installing one-light-syntax@1.2.0 ✓                                                       
 Installing solarized-dark-syntax@1.0.0 ✓                                                     
 Installing solarized-light-syntax@1.0.0 ✓                                                    
 Installing about@1.4.2 ✓                                                             
 Installing archive-view@0.61.1 ✓                                                         
 Installing autocomplete-atom-api@0.10.0 ✓                                                    
 Installing autocomplete-css@0.11.0 ✓                                                       
 Installing autocomplete-html@0.7.2 ✓                                                       
 Installing autocomplete-plus@2.29.1 ✓                                                      
 Installing autocomplete-snippets@1.10.0 ✓                                                    
 Installing autoflow@0.27.0 ✓                                                           
 Installing autosave@0.23.1 ✓                                                           
 Installing background-tips@0.26.0 ✓                                                       
 Installing bookmarks@0.38.2 ✓                                                          
 Installing bracket-matcher@0.81.0 ✓                                                       
 Installing command-palette@0.38.0 ✓                                                       
 Installing deprecation-cop@0.54.1 ✓                                                       
 Installing dev-live-reload@0.47.0 ✓                                                       
 Installing encoding-selector@0.21.0 ✓                                                      
 Installing exception-reporting@0.37.0 ✓                                                     
 Installing find-and-replace@0.199.0 ✓                                                      
 Installing fuzzy-finder@1.0.5 ✓                                                         
 Installing git-diff@1.0.1 ✓                                                           
 Installing go-to-line@0.30.0 ✓                                                          
 Installing grammar-selector@0.48.1 ✓                                                       
 Installing image-view@0.57.0 ✓                                                          
 Installing incompatible-packages@0.25.1 ✓                                                    
 Installing keybinding-resolver@0.35.0 ✓                                                     
 Installing line-ending-selector@0.3.1 ✓                                                     
 Installing link@0.31.1 ✓                                                             
 Installing markdown-preview@0.158.0 ✓                                                      
 Installing metrics@0.53.1 ✓                                                           
 Installing notifications@0.63.1 ✓                                                        
 Installing open-on-github@1.0.1 ✓                                                        
 Installing package-generator@1.0.0 ✓                                                       
 Installing settings-view@0.235.1 ✓                                                        
 Installing snippets@1.0.1 ✓                                                           
 Installing spell-check@0.67.0 ✓                                                         
 Installing status-bar@1.1.2 ✓                                                          
 Installing styleguide@0.45.2 ✓                                                          
 Installing symbols-view@0.112.0 ✓                                                        
 Installing tabs@0.92.0 ✓                                                             
 Installing timecop@0.33.1 ✓                                                           
 Installing tree-view@0.205.0 ✓                                                          
 Installing update-package-dependencies@0.10.0 ✓                                                 
 Installing welcome@0.34.0 ✓                                                           
 Installing whitespace@0.32.2 ✓                                                          
 Installing wrap-guide@0.38.1 ✓                                                          
 Installing language-c@0.51.1 ✓                                                          
 Installing language-clojure@0.20.0 ✓                                                       
 Installing language-coffee-script@0.46.1 ✓                                                    
 Installing language-csharp@0.12.0 ✓                                                       
 Installing language-css@0.36.0 ✓                                                         
 Installing language-gfm@0.85.0 ✓                                                         
 Installing language-git@0.12.1 ✓                                                         
 Installing language-go@0.42.0 ✓                                                         
 Installing language-html@0.44.1 ✓                                                        
 Installing language-hyperlink@0.16.0 ✓                                                      
 Installing language-java@0.17.0 ✓                                                        
 Installing language-javascript@0.110.0 ✓                                                     
 Installing language-json@0.17.6 ✓                                                        
 Installing language-less@0.29.0 ✓                                                        
 Installing language-make@0.21.0 ✓                                                        
 Installing language-mustache@0.13.0 ✓                                                      
 Installing language-objective-c@0.15.1 ✓                                                     
 Installing language-perl@0.32.0 ✓                                                        
 Installing language-php@0.37.0 ✓                                                         
 Installing language-property-list@0.8.0 ✓                                                    
 Installing language-python@0.43.0 ✓                                                       
 Installing language-ruby@0.68.3 ✓                                                        
 Installing language-ruby-on-rails@0.25.0 ✓                                                    
 Installing language-sass@0.46.0 ✓                                                        
 Installing language-shellscript@0.21.0 ✓                                                     
 Installing language-source@0.9.0 ✓                                                        
 Installing language-sql@0.20.0 ✓                                                         
 Installing language-text@0.7.1 ✓                                                         
 Installing language-todo@0.27.0 ✓                                                        
 Installing language-toml@0.18.0 ✓                                                        
 Installing language-xml@0.34.4 ✓                                                         
 Installing language-yaml@0.25.1 ✓                                                        
 => Took 628972ms.  
 Deduping modules ✓  
 => Took 56562ms.  
 Running "download-electron" task  
 Running "download-electron-chromedriver" task  
 Running "build" task  
 Running "babel:dist" (babel) task  
 Running "coffee:glob_to_multiple" (coffee) task  
 >> 334 files created.  
 Running "prebuild-less:src" (prebuild-less) task  
 >> 1891 files compiled, 0 files reused  
 Running "cson:glob_to_multiple" (cson) task  
 >> 172 files compiled to JSON.  
 Running "peg:glob_to_multiple" (peg) task  
 Generating parser from "node_modules/snippets/lib/snippet-body.pegjs"...  
 Parser "/home/groni/bin/atom-1.7.3/out/Atom/resources/app/node_modules/snippets/lib/snippet-body.js" generated in 41ms.  
 Running "generate-license:save" (generate-license) task  
 Running "generate-module-cache" task  
 Running "compile-packages-slug" task  
 Running "set-version" task  
 Running "generate-asar" task  
 Done, without errors.  
 Execution Time (2016-05-02 16:51:52 UTC)  
 loading tasks            3.6s ▇ 1%  
 download-electron        2m 20.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 57%  
 download-electron-chromedriver   4.3s ▇ 2%  
 build                9.8s ▇▇ 4%  
 coffee:glob_to_multiple      14.3s ▇▇ 6%  
 prebuild-less:src         52.9s ▇▇▇▇▇▇▇ 21%  
 cson:glob_to_multiple         5s ▇ 2%  
 generate-asar           10.3s ▇▇ 4%  
 Total 4m 6.6s  
 groni@groni_pisi_linux2 atom-1.7.3 $   

when this is run correct as my output here then type the next command:

sudo script/grunt install

for install the atom and apm commands to /usr/local/bin for executing

this output looks then so as here:

 

 groni@groni_pisi_linux2 atom-1.7.3 $ sudo script/grunt install  
 Password:   
 Running "install" task  
 Done, without errors.  
 Execution Time (2016-05-02 17:22:14 UTC)  
 loading tasks 3.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 72%  
 install    1.4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 28%  
 Total 5s  
 groni@groni_pisi_linux2 atom-1.7.3 $   

 

After it you must create a Menu entry for it, i have all times a folder called bin in my Home Directory for Software that works out of the box.

When you ready you have now a Menu Entry and you can start your work with Atom

atom-text-editor

More Informations about Atom become you at the Website https://atom.io/