Support #652
Updated by Daniel Curtis over 9 years ago
This is a guide on installing the Atom editor on FreeBSD 9.
*NOTE*: I currently am unable to install Atom on FreeBSD due to dependency failures.
h2. Prepare the Environment
* Make sure the system is up to date:
<pre>
pkg update && pkg upgrade
</pre>
* Install portmaster:
<pre>
pkg install portmaster
pkg2ng
</pre>
* Install nodejs and npm:
<pre>
pkg install node npm libgnome-keyring gmake
</pre>
h2. Install Atom
*NOTE*: Atom must be built as a non-root user
<pre>
su - user
</pre>
* Ensure that gyp uses Python 2:
<pre>
npm config set python /usr/local/bin/python2 -g
</pre>
* Clone Atom from GitHub:
<pre>
git clone https://github.com/atom/atom
cd atom
</pre>
* Checkout the latest Atom release:
<pre>
git fetch -p
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
</pre>
* Build the application in a temporary directory:
<pre>
script/build
</pre>
* Install the application:
<pre>
sudo script/grunt install
</pre>
h2. Resources
* https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md
* https://github.com/atom/atom/issues/2599