Project

General

Profile

Support #887

Updated by Daniel Curtis almost 8 years ago

This is how to install Atom editor on TrueOS. 

 h2. Prepare the Environment 

 * Open the Update Manager and make sure the system is up to date. 

 * Open the AppCafe and install *portmaster* portmaster and *libgnome-keyring* 
 #* Or in a terminal and use: 
 <pre> 
 sudo pkg install portmaster libgnome-keyring 
 </pre> 

 * update the ports tree: 
 <pre> 
 sudo portsnap fetch extract 
 </pre> 

 * Build node4 and npm from ports: 
 *NOTE*: Make sure to enable [X] BUNDLED_SSL option 
 <pre> 
 sudo portmaster www/node4 www/npm 
 </pre> 

 * Install the chromedriver system-wide: 
 <pre> 
 npm install chromedriver -g 
 </pre> 

 * Open a terminal and set the default python version for npm to use: 
 <pre> 
 sudo npm config set python /usr/local/bin/python2 -g 
 </pre> 

 h2. Install Atom 

 * Download the latest version of Atom from GitHub: 
 <pre> 
 git clone https://github.com/atom/atom 
 cd atom 
 </pre> 

 * Build atom: 
 <pre> 
 script/build 
 </pre> 

 h2. Resources 

 * https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md

Back