Project

General

Profile

Support #655

Install Atom on Debian

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development Environment
Target version:
Start date:
09/03/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

This is a guide on installing the Atom editor on Debian 8.

Prepare the System

  • Make sure the system is up to date:
    sudo apt-get update && apt-get upgrade
    
  • Install a few dependencies:
    sudo apt-get install build-essential git libgnome-keyring-dev fakeroot
    

Install Nodejs

  • Setup as root:
    apt-get install curl
    curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
    
  • Then install as root:
    apt-get install --yes nodejs
    
  • Set npm to use python2 globally:
    npm config set python /usr/bin/python2 -g
    

Install Atom

NOTE: Atom must be built as a non-root user

su - user

  • Clone the Atom repository:
    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 Atom:
    script/build
    

    This will create the atom application at $TMPDIR/atom-build/Atom.
  • Install the atom and apm commands to /usr/local/bin by executing:
    sudo script/grunt install
    

Resources

Also available in: Atom PDF