mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
1.2 KiB
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 -gto 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.0does 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