In EPEL 7, npm has been split out of nodejs into its own RPM. $ rpm -qf /usr/bin/node nodejs-6.9.4-2.el7.x86_64 $ rpm -qf /usr/bin/npm npm-3.10.10-1.6.9.4.2.el7.x86_64 But it looks like all the man pages are still in the nodejs RPM: $ rpm -ql nodejs /usr/bin/node ... /usr/share/man/man1/npm-README.1.gz /usr/share/man/man1/npm-access.1.gz /usr/share/man/man1/npm-adduser.1.gz /usr/share/man/man1/npm-bin.1.gz /usr/share/man/man1/npm-bugs.1.gz /usr/share/man/man1/npm-build.1.gz ... Is this deliberate? It seems like a mistake in the package split to me.
Yeah, it's a bug in the packages. Just an overzealous glob of the manpages. I'm not sure it's worth fixing though, since at least on EPEL 7, the `nodejs` and `npm` packages have a two-way dependency on each other, so they cannot actually be installed separately. It's slightly more interesting on Fedora where we have `Recommends: npm` instead of `Requires: npm`, where it's possible to have just the interpreter installed. But I'm not sure a few kilobytes of extra documentation is worth fixing, particularly when 99% of people are going to want both packages installed anyway.
I would have thought it was worth fixing. I am deploying my node.js application using speculate: https://github.com/bbc/speculate So it actually runs npm on a Continuous Integration server and then puts the resulting files into an RPM. So in theory it doesn't need npm on the application server.
nodejs-6.10.1-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9d4f011d75
nodejs-6.10.1-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e241462b6
nodejs-6.10.1-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9d4f011d75
nodejs-6.10.1-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e241462b6
Just installed the EPEL 7 RPMs from the epel-updates repo: nodejs-6.10.1-2.el7.x86_64 npm-3.10.10-1.6.10.1.2.el7.x86_64 I can confirm that this bug is fix now for me - the the npm man pages are now in the npm RPM. Thank you!
nodejs-6.10.1-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
nodejs-6.10.1-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.