Tuesday, August 23, 2016
Installing the Atom editor in Linux Ubuntu
Installing the Atom editor in Linux Ubuntu
To install the Atom editor by Github, you do not have any compiled deb/binaries except you use some third party repositories, which I try to avoid all the time. So, while searching for a way to compile this thing and avoid the errors, I found some info on several links that actually helped make it possible.
The steps:
1. Install the necessary dependencies using
You might face problems regarding grunt and npm which means you might not have the latest version of npm. So to install that, first try the command
Credits:
1. http://blog.xero.nu/atom_editor_linux_install
2. http://stackoverflow.com/a/6237400/1928610
The steps:
1. Install the necessary dependencies using
2. (Optional) In order to ensure that npm is using python2 use this
sudo apt-get install libgnome-keyring-dev python2.7 git git-core
3. Now get the source and go into it
npm config set python /usr/bin/python2 -g
4. Now build it using the command
git clone https://github.com/atom/atom
cd atom
NOTE: You might need to become root before doing these
script/build
You might face problems regarding grunt and npm which means you might not have the latest version of npm. So to install that, first try the command
If that does not help then try this
npm update npm -g
And if none of it helps, use this.
npm update -g
After installing the latest version run the build command again and then it should go smoothly from there 5. Now to make atom a command accessible from /usr/local/bin/atom do this
curl https://www.npmjs.org/install.sh | sh
sudo script/grunt install
Credits:
1. http://blog.xero.nu/atom_editor_linux_install
2. http://stackoverflow.com/a/6237400/1928610
Go to link download