Skip to content


Subversion checkout URL

You can clone with
Download ZIP
node.js rpm spec

node.js RPM spec

Circle CI

Building the RPM

Distro support


  • RHEL/CentOS 7 x86_64

Probably it works

  • Fedora20 x86_64 or later (maybe)

  • RHEL/CentOS/SL/OL 6 x86_64

  • RHEL/CentOS/SL/OL 5 x86_64


  • Python 2.7
  • gcc and g++ 4.8 or newer

Docker (el7, el6, el5)

Build (el7, el6)

setting up:

$ sudo yum install -y yum-utils rpmdevtools make

git clone and make:

$ git clone
# If you want to use the LTS version: git clone -b LTS
$ cd nodejs-rpm
$ sudo yum-builddep ./nodejs.spec


$ make rpm

el6 : with Software Collections and Devtoolset

$ scl enable python27 devtoolset-3 '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

Build (el5)

el5 : with Devtoolset and python27

$ sudo yum install -y epel-release ius-release
$ sudo yum install -y yum-utils rpmdevtools redhat-rpm-config tar make openssl-devel libstdc++-devel zlib-devel gzip 
$ sudo yum install -y devtoolset-2-gcc-c++ devtoolset-2-binutils python27
$ git clone
$ cd nodejs-rpm
$ rpmdev-setuptree
$ curl -OLk
$ cp *.patch ~/rpmbuild/SOURCES/ ; cp *.md ~/rpmbuild/SOURCES/ ; cp *.tar.gz ~/rpmbuild/SOURCES/ 
$ scl enable devtoolset-2 'rpmbuild -ba ./nodejs.spec'
Something went wrong with that request. Please try again.