Support #655
Updated by Daniel Curtis over 9 years ago
This is a guide on installing the Atom editor on Debian 8. h2. Prepare the System * Make sure the system is up to date: <pre> sudo apt-get update && apt-get upgrade </pre> * Install a few dependencies: <pre> sudo apt-get install build-essential git libgnome-keyring-dev fakeroot </pre> h2. Install Nodejs * Setup as root: <pre> apt-get install curl curl --silent --location https://deb.nodesource.com/setup_0.12 | bash - </pre> * Then install as root: <pre> apt-get install --yes nodejs </pre> * Set npm to use python2 globally: <pre> npm config set python /usr/bin/python2 -g </pre> h2. Install Atom *NOTE*: Atom must be built as a non-root user <pre> su - user </pre> * Clone the Atom repository: <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 Atom: <pre> script/build </pre> This will create the atom application at $TMPDIR/atom-build/Atom. * Install the atom and apm commands to /usr/local/bin by executing: <pre> sudo script/grunt install </pre> h2. Resources * https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md * https://github.com/nodejs/node-v0.x-archive/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions