3

I'm on the verge of giving up installing the atom editor on a university machine to which I don't have root access to. The instructions on the Github page for building from source require some dependencies that need root access (libgnome-keyring-dev). An alternative suggested to me was to download the source code and try to compile it myself to a local directory. I'm finding it hard to get started on this however, because there are a large number of javascript files (I would appreciate any help on this). Any one with any suggestions or an easier way to do this?

  • 1
    Building from source requires root access, seriously? Edit the question and provide this link – It’s your job, not ours. – Incnis Mrsi Sep 18 '15 at 17:44
  • If building from source truly requires root, then you're better off finding a different editor written by a project team that doesn't do bad things (like require the build to be performed as root). – John Sep 18 '15 at 19:00
  • @IncnisMrsi Edited. (P.S: It wouldn't kill you to be polite) – TheMagicalMachine Sep 18 '15 at 19:16
  • It's written in javascript, and you should notice a shebang with something like node which stands for the nodejs executable in something like main.js. It's almost the same idea as other scripting languages here. – Arthur2e5 Sep 18 '15 at 22:00
2

Why don't you try unpacking, but not fully installing, the binary package for your OS. For example, I looked in the releases dir and downloaded (with e.g. firefox, curl, or wget) the 64 bit rpm for my Fedora 22, into a newly created directory, myatom, then unpacked it with

cd myatom
rpm2cpio x86_64.rpm | cpio -cid

and ran

~/myatom/usr/bin/atom

and it seemed to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.