Files
atom/docs/build-instructions/linux.md
2014-05-10 08:37:16 -07:00

1.2 KiB

Linux

Ubuntu LTS 12.04 64-bit is the recommended platform.

Requirements

  • OS with 64-bit architecture
  • node.js v0.10.x
  • npm v1.4.x
  • libgnome-keyring-dev 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

Instructions

git clone https://github.com/atom/atom
cd atom
script/build # Creates application at /tmp/atom-build/Atom
sudo script/grunt install # Installs command to /usr/local/bin/atom
script/grunt mkdeb # Generates a .deb package at /tmp/atom-build

Troubleshooting

Ubuntu 14.04

  • On Ubuntu 14.04 LTS if libudev.so.0 does not exist you will get an error message
/usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

On x64 systems you can solve this error by making a symlink

sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0