1 min read

Installing node.js and npm to a Fedora 14 PC

Hi! Below is the step by step instructions to install the following in a Fedora 14 PC; ( no sudo yum install shortcut 😟 )

+ [nodejs](http://nodejs.org/ "Node.js")
+ npm
+ mongo database
node components
+ mongoose
+ express
+ coffeescript
+ stylus
+ underscore

Step1. Install nodejs :

First download the latest nodejs and un-tar it. Than;

export JOBS=2 # optional, sets number of parallel commands. 
./configure make make install

Step 2. Install npm :

sudo ln -s /usr/local/bin/node /usr/bin/node
sudo ln -s /usr/local/lib/node /usr/lib/node
sudo ln -s /usr/local/bin/npm /usr/bin/npm
sudo ln -s /usr/local/bin/node-waf /usr/bin/node-waf
git clone https://github.com/isaacs/npm.git
cd npm sudo make install

Step 3. install components;

sudo npm install mongoose 
sudo npm install express
sudo npm install coffee-script
sudo npm install stylus
sudo npm install underscore

And thats all folks!! Now I have Nodejs and its components installed.