Project

General

Profile

Support #652

Install Atom on FreeBSD

Added by Daniel Curtis over 8 years ago. Updated over 8 years ago.

Status:
Suspended
Priority:
Normal
Assignee:
Category:
Source Code Management
Target version:
Start date:
08/31/2015
Due date:
% Done:

30%

Estimated time:
1.00 h
Spent time:

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 user
su - 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
    

Resources

Also available in: Atom PDF