Skip to content
Kazuhisa Hara edited this page Sep 18, 2015 · 18 revisions

node.js RPM spec

Building the RPM

Distro support

Tested working (as sane as I could test for) on:

  • RHEL/CentOS 7 x86_64
  • RHEL/CentOS/SL/OL 6 x86_64
  • RHEL/CentOS/SL/OL 5 x86_64
  • Fedora 19 x86_64

setting up:

$ sudo yum install -y yum-utils rpmdevtools make

git clone and make:

$ git clone https://github.com/kazuhisya/nodejs-rpm.git
$ cd nodejs-rpm
$ sudo yum-builddep ./nodejs.spec
$ make rpm

install package:

$ cd ./dist/RPMS/x86_64/
$ sudo yum install ./nodejs-X.X.X-X.el6.x86_64.rpm ./nodejs-npm-X.X.X-X.el6.x86_64.rpm --nogpgcheck
Clone this wiki locally