Ask Your Question

How do I install Atom? [closed]

asked 2015-06-04 02:07:26 +0000

BH2017 gravatar image

updated 2016-02-14 01:04:10 +0000

mether gravatar image

I am new to Fedora (although I've been using Ubuntu on-and-off for the past three years) and am operating on 32 bit Fedora 22. I have been trying to install Atom (i.e., the text editor) by following this guide (I know it is written for Fed 21, not 22, but it's the best I could find). Although as I noticed that the git repo mentioned in said guide didn't seem to exist (as git clone... kept returning errors to that effect) I used the git repo https://github.com/atom/atom.git. After I had successfully cloned it into ~/atom I did cd atom and ran script/build to receive this error:

npm v1.4+ is required to build Atom. Version 1.3.6 was detected.

So now I'm left asking how I may install npm v1.4+ in the least number of lines (executed through the terminal). Although if someone has an RPM package for Atom on 32 bit F22 I will be more than happy to use that instead. Keeping in mind I am merely a novice at programming, so please hold back the techy discourse.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by hhlp
close date 2016-10-19 11:55:02.532734


Welcome to ask.fedora. Unlike Ubuntu, Fedora doesn't use fractional version numbers, so what you installed must have been Fedora 22, which has just been released. Checking, I see that the most recent version of npm is 1.3.6-6, so you may have to wait until version 1.4 becomes available. Good luck, and I hope the new version comes out for Fedora RSN!

sideburns ( 2015-06-04 05:03:31 +0000 )edit

Did you try simply installing the RPM on Atom's home page?

john01dav ( 2015-06-04 09:41:37 +0000 )edit

The RPM on their website is for 64 bit systems.

BH2017 ( 2015-06-04 20:41:35 +0000 )edit

It may be simplest then, to get in touch with the maintainer and ask for a 32 bit RPM.

sideburns ( 2015-06-04 20:54:21 +0000 )edit

I've sent an email but I'm not holding out much hope for the reply I'm hoping for. I've asked them about their Debian packages before, asking for a 32 bit deb package (as they only have 64 bit packages for Ubuntu too), and they didn't seem all that able to help with that. Fortunately some Atom users had set up a PPA for 32 bit Ubuntu that had the deb package I wanted.

BH2017 ( 2015-06-04 21:50:55 +0000 )edit

4 answers

Sort by ยป oldest newest most voted

answered 2015-07-01 14:06:25 +0000

BH2017 gravatar image

updated 2015-07-01 14:12:49 +0000

I discovered the answer to this question. The reason why building Atom from source failed for me was that Node.js and npm were not the version required by Atom (as was pointed out in my original question), so the solution was to get the latest Node.js tarball, extract its contents and follow the installation instructions from there. This solution I have integrated into a revised version of the Linux.md build instructions at the Atom master GitHub repository that I have uploaded to my own repository on GitHub.

To summarize, installing the latest available version of Node.js (I should mention that this bash script for installing Node.js was inspired by the Node.js official Wiki here) from source code may be achieved by running (from any directory to which you have read & write permissions):

wget -c http://nodejs.org/dist/v0.12.5/node-v0.12.5.tar.gz
tar -xzf node*.tar.gz
cd node*
sudo make install

The v0.12.5 component of this code refers to the fact that at the time I am writing this answer the latest available version of Node.js is version 0.12.5, it should, of course, be updated accordingly when later releases become available. To check for newer releases go here. After running this I just followed the installation instructions for Atom itself, namely running:

sudo script/grunt install

from the Atom directory on my machine (i.e., where the git clone... instruction cloned the master Atom repository to). This solution also appears to work on other Linux distributions, btw, including Debian, openSUSE and Ubuntu.

edit flag offensive delete link more

answered 2015-06-05 06:25:44 +0000

updated 2015-06-05 06:31:39 +0000

Easy, available in Copr... but if you have a 32bit machine, isn't available for you... but you can rebuilt the src.rpm easy...

1) su
2) dnf copr enable helber/atom && dnf -y install atom
edit flag offensive delete link more


Your code gave this error which is repeated whenever I run yum. Failed to synchronize cache for repo 'helber-atom' from 'https://copr-be.cloud.fedoraproject.org/results/helber/atom/fedora-22-i386/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling. Last metadata expiration check performed 0:04:11 ago on Fri Jun 5 17:37:30 2015.

BH2017 ( 2015-06-05 07:43:07 +0000 )edit

@Brenton Horne, because isn't avaible a repository for your 32bits pc... I said you. please read my answer again... here I share a official wiki about How To rebuild a src.rpm. I have not tested if it compiles on a 32-bit PC . If you are a developer consider migrating to 64 bit platforms .

davidva ( 2015-06-05 15:54:56 +0000 )edit

I followed your guide, running rpmbuild --rebuild on the .src.rpm file and I got this error:

Request for package information failed: getaddrinfo EIO (EIO) error: Bad exit status from /var/tmp/rpm-tmp.us5VQE (%build)

RPM build errors: /home/fusion809/Downloads/atom-0.208.0-1.fc22.src.rpm: Header V3 RSA/SHA1 Signature, key ID f4928260: NOKEY user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.us5VQE (%build)

BH2017 ( 2015-06-14 17:40:58 +0000 )edit

answered 2016-10-19 11:54:27 +0000

hhlp gravatar image

a fantastic article about ATOM in Fedora Magazine, and a howto after installing ATOM like plug-ins an themes


edit flag offensive delete link more

answered 2016-02-20 12:59:18 +0000

mosquito gravatar image

updated 2016-02-20 13:03:27 +0000

Please add https://copr.fedorainfracloud.org/cop... Rpm repository.

$ dnf copr enable mosquito/atom
$ sudo dnf install atom

I am spiltting Atom package(atom, nodejs-atom-package-manager, electron), If you any question, please tell me.

If you want to build atom from source code(SRPM). please use mock. For example:

  1. Download srpm

    wget https://copr-be.cloud.fedoraproject.org/results/mosquito/atom/fedora-23-x86_64/00161503-atom/atom-1.5.3-2.git3e71894.fc23.src.rpm
  2. Use mock build atom

    $ sudo mock -r fedora-22-i386 --dnf --rebuild atom-1.5.3-2.git3e71894.fc23.src.rpm
edit flag offensive delete link more

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2015-06-04 02:05:18 +0000

Seen: 10,862 times

Last updated: Oct 19 '16