I am pleased to announce the immediate availability of NodeJS in version
4 on CentOS Linux 7 x86_64, delivered via a Software Collection (SCL)
built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl
$ sudo yum install rh-nodejs4
$ scl enable rh-nodejs4 bash
At this point you should be able to use NodeJS just as a normal
application. Here are some examples of commands you can run:
$ node my-app.js
$ npm install uglify-js --global
$ uglifyjs my-app.js -o my-app.min.jso
In order to view the individual components included in this collection,
including additional NodeJS modules, you can run:
$ sudo yum list rh-nodejs4*
Last but not least you can try this Software Collection in Docker. You
will be able to pull the image with the following command soon (not yet
ready):
$ sudo docker pull centos/nodejs-4-centos7
For more on the docker image follow the link to public source
repository: https://github.com/sclorg/s2i-nodejs-container
For more on NodeJS in general, see https://nodejs.org.
About Software Collections
--------------------------
Software Collections give you the power to build, install, and use
multiple versions of software on the same system, without affecting
system-wide installed packages. Each collection is delivered as a group
of RPMs, with the grouping being done using the name of the collection
as a prefix of all packages that are part of the software collection.
The SCLo SIG in CentOS
----------------------
The Software Collections SIG group is an open community group
co-ordinating the development of the SCL technology, and helping curate
a reference set of collections. In addition to the collection NodeJS
being released here, we also build and deliver databases, web servers,
and language stacks including multiple versions of PostgreSQL, MariaDB,
Apache HTTP Server, Python, Ruby, Ruby on Rails and others.
You can learn more about Software Collections concepts at:
http://softwarecollections.org
You can find information on the SIG at
https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto
get involved and help with the effort.
Enjoy!
Honza
(thanks trepik for preparing the announcement)