Support #652
Install Atom on FreeBSD
Status:
Suspended
Priority:
Normal
Assignee:
Category:
Source Code Management
Target version:
Description
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.
Prepare the Environment¶
- Make sure the system is up to date:
pkg update && pkg upgrade
- Install portmaster:
pkg install portmaster pkg2ng
- Install nodejs and npm:
pkg install node npm libgnome-keyring gmake
Install Atom¶
NOTE: Atom must be built as a non-root usersu - user
- Ensure that gyp uses Python 2:
npm config set python /usr/local/bin/python2 -g
- Clone Atom from GitHub:
git clone https://github.com/atom/atom cd atom
- Checkout the latest Atom release:
git fetch -p git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
- Build the application in a temporary directory:
script/build
- Install the application:
sudo script/grunt install