A few months ago, Node.js was accepted as a Fedora 19 feature.
Major kudos to T.C. Hollingsworth (aka patches) and Stephen Gallagher (aka sgallagh) who have been the driving force behind bringing Node.js to Fedora! Tom Hughes (aka tomh) and I (aka jamielinux) have also tagged along for the ride.
You can now find nodejs and the npm package manager available in a Fedora 18 mirror near you:
yum install nodejs npm
Everything is very fresh out of the kitchen, so please do file bug reports if anything isn't working quite as expected. Bear in mind that some module authors haven't fully tested their code on 0.10.x so there may be some unexpected behaviour.
Where would the fun be without some software to play with? We should have a load more packages available once Fedora 19 hits, but luckily there are already lots of useful Node.js packages to install. I've been working on packaging buddycloud for Fedora. This is not quite done yet and I'm taking a brief hiatus to focus on my academic exams, but I've now packaged many of the dependencies:
Quickly build a web application using the
middleware framework and very popular
yum install nodejs-connect nodejs-express
yum install nodejs-jade
Easily build a command-line interface using either
yum install nodejs-commander
yum install nodejs-cli
Parse XML efficiently with either Isaac Schlueter's
yum install nodejs-sax
yum install nodejs-libxmljs
Parse markdown with
or the blazingly fast
yum install nodejs-showdown
yum install nodejs-markdown
yum install marked
Quickly generate annotated documentation for your project with
yum install docco
Easily build a thorough test suite using
or the very popular
mocha test framework
The H recently wrote about:
yum install jasmine-node
yum install expresso
yum install mocha
Most Node.js package names have the nodejs-foo format, but some
have the prefix removed. This is usually because they install files into
/usr/bin or are applicable outside of the Node.js framework,
although it's very possible I've made some inconsistent naming decisions.
You can use the name of the module as listed on the
npm registry to find out if it has been
packaged for Fedora and also what the package name is:
# yum provides "npm(mocha)" mocha-1.8.2-3.fc18.noarch : A simple, flexible, fun test framework for Node.js Repo : updates Matched from: Provides : npm(mocha) = 1.8.2
Update #1: You can also use this format to install packages,
yum install "npm(express)".