Support #887
Updated by Daniel Curtis almost 8 years ago
This is how to install Atom editor on TrueOS. *WARNING*: I currently (3/7/2017) cannot get Atom to build correctly. YMMV h2. 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: <pre> sudo pkg install bash portmaster libgnome-keyring </pre> * Make a symlink of /usr/local/bin/bash to /bin/bash: <pre> sudo ln -s /usr/local/bin/bash /bin/bash </pre> * Update 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