Support #887
Install Atom on TrueOS
Start date:
03/06/2017
Due date:
% Done:
40%
Estimated time:
1.00 h
Description
This is how to install Atom editor on TrueOS.
WARNING: I currently (3/7/2017) cannot get Atom to build correctly. YMMV
Prepare the Environment¶
- Open the Update Manager and make sure the system is up to date.
- Open the AppCafe and install bash, portmaster and libgnome-keyring
- Or in a terminal and use:
sudo pkg install bash portmaster libgnome-keyring
- Or in a terminal and use:
- Make a symlink of /usr/local/bin/bash to /bin/bash:
sudo ln -s /usr/local/bin/bash /bin/bash
- Update the ports tree:
sudo portsnap fetch extract
- Build node4 and npm from ports:
NOTE: Make sure to enable [X] BUNDLED_SSL optionsudo portmaster www/node4 www/npm
- Install the chromedriver system-wide:
npm install chromedriver -g
- Open a terminal and set the default python version for npm to use:
sudo npm config set python /usr/local/bin/python2 -g
Install Atom¶
- Download the latest version of Atom from GitHub:
git clone https://github.com/atom/atom cd atom
- Build atom:
script/build