Requirements
-
OS with 64-bit architecture
-
node.js v0.10.x
-
npm v1.4.x
-
libgnome-keyring-dev (refer to your distribution’s manual on how to install packages if you are not on Debian or Ubuntu-based systems)
-
npm config set python /usr/bin/python2 -g to ensure that gyp uses Python 2
Instructions
- wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz
- tar xzvf node-v0.10.28.tar.gz
- cd node-v0.10.28
- ./configure && make
- sudo make install
- sudo apt-get install libgnome-keyring-dev # refer to your distribution’s manual on how to install packages if you are not on Debian or Ubuntu-based systems
- npm config set python /usr/bin/python2 -g # to ensure that gyp uses Python 2
- sudo apt-get remove gyp
- npm install -g node-gyp # Install the “node-gyp” globally
- cd ~
- npm update # Update your personal npm local repository again
- sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
- git clone https://github.com/atom/atom
- cd atom
- script/build # Creates application at $TMPDIR/atom-build/Atom
- sudo script/grunt install # Installs command to /usr/local/bin/atom
- script/grunt mkdeb # Generates a .deb package at $TMPDIR/atom-build