atomsmasher atomsmasher -5 years ago 323
Linux Question

install atom on centos 7 without admin privileges

If it is possible could someone show me how to get the editor Atom working on CentOS Linux release 7.x. I'm working on a computing cluster so I don't have sudo privileges. The instructions here:
seem to require sudo privileges
How do I install it with these constraints?

Answer Source

In the link that you have shared, go to the Instructions section below openSuse instructions.

Step 1 is:

git clone
cd atom

Run this step in your home directory.

After that run Step 2 and Step 3 as per the document:

git fetch -p
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

After that instead of Step 4, run:

script/grunt install --install-dir /home/<your-username>/bin/

This will install the application in your home directory which can be done without sudo privilege. You can add /home/<your-username>/bin at the end of your PATH variable and you should be able to use atom as usual.

All this is assuming that you have the requirements for atom already installed on the system, particularly node.js. If not, you will have to install node.js as well as per

In this, instead of ./configure, run ./configure --prefix=/home/<your-username>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download